summaryrefslogtreecommitdiff
path: root/src/core/bs_bot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bs_bot.c')
-rw-r--r--src/core/bs_bot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c
index 1e5251dda..cce84d789 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -297,7 +297,7 @@ int do_bot(User * u)
anope_cmd_chg_nick(oldnick, bi->nick);
anope_cmd_sqline(bi->nick, "Reserved for services");
} else {
- anope_cmd_quit(oldnick, "Quit: Be right back");
+ anope_SendQuit(oldnick, "Quit: Be right back");
anope_SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real,
ircd->botserv_bot_mode);
@@ -320,7 +320,7 @@ int do_bot(User * u)
notice_lang(s_BotServ, u, BOT_DOES_NOT_EXIST, nick);
else {
send_event(EVENT_BOT_DEL, 1, bi->nick);
- anope_cmd_quit(bi->nick,
+ anope_SendQuit(bi->nick,
"Quit: Help! I'm being deleted by %s!",
u->nick);
if (ircd->sqline) {