diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:30:41 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:30:41 +0000 |
commit | 341b226c63e5cf193246ec983e0736dd5af78be7 (patch) | |
tree | f4c80cd1e9380132b7a928ea170a77be0326d80d /src/core/bs_bot.c | |
parent | 5d695b7bf69eada724742fe7cbdf92b609a0858e (diff) |
cmd_bot_nick -> SendClientIntroduction
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1302 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/bs_bot.c')
-rw-r--r-- | src/core/bs_bot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 54b51200c..1e5251dda 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -164,7 +164,7 @@ int do_bot(User * u) EnforceQlinedNick(nick, s_BotServ); /* We make the bot online, ready to serve */ - anope_cmd_bot_nick(bi->nick, bi->user, bi->host, bi->real, + anope_SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, ircd->botserv_bot_mode); notice_lang(s_BotServ, u, BOT_BOT_ADDED, bi->nick, bi->user, @@ -292,14 +292,14 @@ int do_bot(User * u) /* If only the nick changes, we just make the bot change his nick, else we must make it quit and rejoin. We must not forget to set - the Q:Line either (it's otherwise set in anope_cmd_bot_nick) */ + 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"); } else { anope_cmd_quit(oldnick, "Quit: Be right back"); - anope_cmd_bot_nick(bi->nick, bi->user, bi->host, bi->real, + anope_SendClientIntroduction(bi->nick, bi->user, bi->host, bi->real, ircd->botserv_bot_mode); bi->RejoinAll(); } |