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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user