From 50db0bb6807382c78f67a77670ecccf8038207a6 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 19:25:27 +0000 Subject: 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 --- src/core/bs_bot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') 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) { -- cgit