diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:37:14 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 08:37:14 +0000 |
commit | bd56c0fb93b06c1d5f58f83089f12eda5c9e82d9 (patch) | |
tree | a99c35c6cc7cafcad8f85a96927c80b40ebb3fb2 /src/core/bs_bot.c | |
parent | dae48c47929a9a6341b90412cc551d01d89613e6 (diff) |
Global NOTICE/PRIVMSG, QUIT.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1305 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/bs_bot.c')
-rw-r--r-- | src/core/bs_bot.c | 4 |
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) { |