diff -ur eggdrop1.6.15/src/botmsg.c eggdrop1.6.15.new/src/botmsg.c --- eggdrop1.6.15/src/botmsg.c Sun May 4 18:05:32 2003 +++ eggdrop1.6.15.new/src/botmsg.c Sun May 4 21:30:10 2003 @@ -570,36 +570,13 @@ 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); - } 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); - } tandout_but(idx, "unaway %s %d\n", bot, sock); } #endif diff -ur eggdrop1.6.15/src/patch.h eggdrop1.6.15.new/src/patch.h --- eggdrop1.6.15/src/patch.h Sun May 4 18:08:01 2003 +++ eggdrop1.6.15.new/src/patch.h Sun May 4 21:30:30 2003 @@ -36,7 +36,7 @@ * * */ -/* PATCH GOES HERE */ +patch("saway"); /* * *