diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/bs_bot.c | 4 | ||||
-rw-r--r-- | src/core/cs_drop.c | 2 | ||||
-rw-r--r-- | src/core/ns_drop.c | 6 | ||||
-rw-r--r-- | src/ircd.c | 5 | ||||
-rw-r--r-- | src/operserv.c | 2 |
5 files changed, 7 insertions, 12 deletions
diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 901b7af79..a93f2396a 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -267,7 +267,7 @@ int do_bot(User * u) /* The new nick is really different, so we remove the Q line for the old nick. */ if (ircd->sqline) { - anope_SendSQLineDel(bi->nick); + ircdproto->SendSQLineDel(bi->nick); } /* We check whether user with this nick is online, and kill it if so */ @@ -324,7 +324,7 @@ int do_bot(User * u) "Quit: Help! I'm being deleted by %s!", u->nick); if (ircd->sqline) { - anope_SendSQLineDel(bi->nick); + ircdproto->SendSQLineDel(bi->nick); } delete bi; diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index 6ec5ecb37..0b8eab366 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.c @@ -104,7 +104,7 @@ int do_drop(User * u) } if (ircd->chansqline && (ci->flags & CI_VERBOTEN)) { - anope_SendSQLineDel(ci->name); + ircdproto->SendSQLineDel(ci->name); } alog("%s: Channel %s dropped by %s!%s@%s (founder: %s)", diff --git a/src/core/ns_drop.c b/src/core/ns_drop.c index 416ecd58d..a9a78bd42 100644 --- a/src/core/ns_drop.c +++ b/src/core/ns_drop.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -120,7 +120,7 @@ int do_drop(User * u) notice_lang(s_NickServ, u, READ_ONLY_MODE); if (ircd->sqline && (na->status & NS_VERBOTEN)) { - anope_SendSQLineDel(na->nick); + ircdproto->SendSQLineDel(na->nick); } alog("%s: %s!%s@%s dropped nickname %s (group %s) (e-mail: %s)", diff --git a/src/ircd.c b/src/ircd.c index c0f66c7d5..7fb04d41e 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av) ircdproto->ProcessUsermodes(user, ac, av); } -void anope_SendSQLineDel(const char *user) -{ - ircdproto->SendSQLineDel(user); -} - void anope_SendInvite(const char *source, const char *chan, const char *nick) { ircdproto->SendInvite(source, chan, nick); diff --git a/src/operserv.c b/src/operserv.c index 7497d72ce..4fcb3fdb9 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -1323,7 +1323,7 @@ static void free_sqline_entry(SList * slist, void *item) SXLine *sx = (SXLine *)item; /* Remove the SQLINE from all the servers */ - anope_SendSQLineDel(sx->mask); + ircdproto->SendSQLineDel(sx->mask); /* Free the structure */ free(sx->mask); |