summaryrefslogtreecommitdiff
path: root/modules/core/bs_bot.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-29 19:59:26 -0500
committerAdam <Adam@anope.org>2010-12-29 19:59:26 -0500
commita36f14c1bfca63ba744ab310af775cf6d5b81179 (patch)
tree699fefdd972c23799117a44f3ddab3606c324d4b /modules/core/bs_bot.cpp
parent16cab979da3330f87c3fb6a23c849a028b8ab594 (diff)
Automatically quit bots when they are deleted
Diffstat (limited to 'modules/core/bs_bot.cpp')
-rw-r--r--modules/core/bs_bot.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/core/bs_bot.cpp b/modules/core/bs_bot.cpp
index a449ef23a..e59f683dd 100644
--- a/modules/core/bs_bot.cpp
+++ b/modules/core/bs_bot.cpp
@@ -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());