diff -ur eggdrop1.6.12.long.old/src/botmsg.c eggdrop1.6.12.long.new/src/botmsg.c --- eggdrop1.6.12.long.old/src/botmsg.c Fri Aug 23 19:36:18 2002 +++ eggdrop1.6.12.long.new/src/botmsg.c Fri Sep 13 16:28:16 2002 @@ -570,40 +570,14 @@ int l; if (tands > 0) { - l = simple_sprintf(OBUF, "aw %s%s %D %s\n", - ((idx >= 0) && linking) ? "!" : "", + l = simple_sprintf(OBUF, "aw !%s %D %s\n", bot, sock, msg ? msg : ""); send_tand_but(idx, OBUF, -l); #ifndef NO_OLD_BOTNET - if (msg) { - if (idx < 0) { - tandout_but(idx, "chan %s %d %s is now away: %s.\n", bot, - dcc[linking].u.chat->channel, dcc[linking].nick, - msg); - } else if ((b_numver(idx) >= NEAT_BOTNET)) { - int partyidx = getparty(bot, sock); - - if (partyidx >= 0) - tandout_but(idx, "chan %s %d %s %s: %s.\n", bot, - party[partyidx].chan, party[partyidx].nick, - NET_AWAY, msg); - } + if (msg) tandout_but(idx, "away %s %d %s\n", bot, sock, msg); - } else { - if (idx < 0) { - tandout_but(idx, "chan %s %d %s %s.\n", bot, - dcc[linking].u.chat->channel, dcc[linking].nick, - NET_UNAWAY); - } else if (b_numver(idx) >= NEAT_BOTNET) { - int partyidx = getparty(bot, sock); - - if (partyidx >= 0) - tandout_but(idx, "chan %s %d %s %s.\n", bot, - party[partyidx].chan, party[partyidx].nick, - NET_UNAWAY); - } + else tandout_but(idx, "unaway %s %d\n", bot, sock); - } #endif } } diff -ur eggdrop1.6.12.long.old/src/patch.h eggdrop1.6.12.long.new/src/patch.h --- eggdrop1.6.12.long.old/src/patch.h Fri Sep 13 15:37:35 2002 +++ eggdrop1.6.12.long.new/src/patch.h Fri Sep 13 16:28:44 2002 @@ -56,7 +56,7 @@ * * */ -/* PATCH GOES HERE */ +patch("saway"); /* * *