summaryrefslogtreecommitdiff
path: root/src/core/bs_bot.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:45:43 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:45:43 +0000
commit55bf54a30532cfeff5bb813617d013761212a64b (patch)
tree42c7d74a507e4ada55fb16c44805fec3a3ba7dfb /src/core/bs_bot.c
parent809ed7c2c04f2c004be3f8f7d29ff3b4f0e3e0f7 (diff)
Various conversions to use new protocol.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1307 5417fbe8-f217-4b02-8779-1006273d7864
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");