summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bs_bot.c2
-rw-r--r--src/core/cs_forbid.c2
-rw-r--r--src/core/ns_forbid.c2
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)