mirror of
https://github.com/anope/anope.git
synced 2026-07-08 09:43:13 +02:00
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
This commit is contained in:
+1
-1
@@ -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");
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user