diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:20:35 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:20:35 +0000 |
| commit | 1f579c0fe2f139fccf5fdfb971080ba99cfdcdab (patch) | |
| tree | 93369b5c9a824e76f756735d58ebc5656e842742 /src/core | |
| parent | 6c305a3d6731191899f4331be56a071dab66d194 (diff) | |
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
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/bs_bot.c | 2 | ||||
| -rw-r--r-- | src/core/cs_forbid.c | 2 | ||||
| -rw-r--r-- | src/core/ns_forbid.c | 2 |
3 files changed, 3 insertions, 3 deletions
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) |
