1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 07:13:14 +02:00

Automatically quit bots when they are deleted

This commit is contained in:
Adam
2010-12-29 19:59:26 -05:00
parent 16cab979da
commit a36f14c1bf
4 changed files with 9 additions and 6 deletions
-4
View File
@@ -294,10 +294,6 @@ class CommandBSBot : public Command
FOREACH_MOD(I_OnBotDelete, OnBotDelete(bi));
ircdproto->SendQuit(bi, "Quit: Help! I'm being deleted by %s!", source.u->nick.c_str());
XLine x(bi->nick);
ircdproto->SendSQLineDel(&x);
Log(LOG_ADMIN, source.u, this) << "DEL " << bi->nick;
source.Reply(BOT_BOT_DELETED, nick.c_str());