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 eba82f5f9..6fc34a6bb 100644
--- a/src/core/bs_bot.c
+++ b/src/core/bs_bot.c
@@ -294,8 +294,8 @@ int do_bot(User * u)
else we must make it quit and rejoin. We must not forget to set
the Q:Line either (it's otherwise set in anope_SendClientIntroduction) */
if (!user) {
- anope_cmd_chg_nick(oldnick, bi->nick);
- anope_cmd_sqline(bi->nick, "Reserved for services");
+ anope_SendChangeBotNick(oldnick, bi->nick);
+ anope_SendSQLine(bi->nick, "Reserved for services");
} else {
anope_SendQuit(oldnick, "Quit: Be right back");