diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:25:27 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:25:27 +0000 |
| commit | 50db0bb6807382c78f67a77670ecccf8038207a6 (patch) | |
| tree | cb25b194d8b335919dce7655f2f2f1c2a0e71483 /src/core | |
| parent | 877791d8b63ee88f4edf9bcd2261a6bbafcde8af (diff) | |
Replaced anope_SendQuit() with direct call to SendQuit() in IRCDProto class.
Added SendQuitInternal() to IRCDProto class, now SendQuit() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1341 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
| -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 d15f00dc5..901b7af79 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -297,7 +297,7 @@ int do_bot(User * u) anope_SendChangeBotNick(oldnick, bi->nick); anope_SendSQLine(bi->nick, "Reserved for services"); } else { - anope_SendQuit(oldnick, "Quit: Be right back"); + ircdproto->SendQuit(oldnick, "Quit: Be right back"); ircdproto->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_SendQuit(bi->nick, + ircdproto->SendQuit(bi->nick, "Quit: Help! I'm being deleted by %s!", u->nick); if (ircd->sqline) { |
