From 1f579c0fe2f139fccf5fdfb971080ba99cfdcdab Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 21:20:35 +0000 Subject: Replaced anope_SendSQLine() with direct call to SendSQLine() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1348 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 2 +- src/core/cs_forbid.c | 2 +- src/core/ns_forbid.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index a93f2396a..805b4dcfa 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -295,7 +295,7 @@ int do_bot(User * u) the Q:Line either (it's otherwise set in SendClientIntroduction) */ if (!user) { anope_SendChangeBotNick(oldnick, bi->nick); - anope_SendSQLine(bi->nick, "Reserved for services"); + ircdproto->SendSQLine(bi->nick, "Reserved for services"); } else { ircdproto->SendQuit(oldnick, "Quit: Be right back"); diff --git a/src/core/cs_forbid.c b/src/core/cs_forbid.c index f327237a8..faaeed0de 100644 --- a/src/core/cs_forbid.c +++ b/src/core/cs_forbid.c @@ -123,7 +123,7 @@ int do_forbid(User * u) u->nick, ci->name); if (ircd->chansqline) { - anope_SendSQLine(ci->name, ((reason) ? reason : "Forbidden")); + ircdproto->SendSQLine(ci->name, ((reason) ? reason : "Forbidden")); } alog("%s: %s set FORBID for channel %s", s_ChanServ, u->nick, diff --git a/src/core/ns_forbid.c b/src/core/ns_forbid.c index eb78b256e..336b44c53 100644 --- a/src/core/ns_forbid.c +++ b/src/core/ns_forbid.c @@ -115,7 +115,7 @@ int do_forbid(User * u) if (ircd->sqline) { - anope_SendSQLine(na->nick, ((reason) ? reason : "Forbidden")); + ircdproto->SendSQLine(na->nick, ((reason) ? reason : "Forbidden")); } if (WallForbid) -- cgit