summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ircd.c5
-rw-r--r--src/operserv.c6
2 files changed, 3 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c
index be919f0fd..e82461cf2 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_SendAkillDel(const char *user, const char *host)
-{
- ircdproto->SendAkillDel(user, host);
-}
-
void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when)
{
BotInfo *bi = findbot(whosets);
diff --git a/src/operserv.c b/src/operserv.c
index 143ed9a70..41de66b2c 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -205,7 +205,7 @@ static void load_old_akill(void)
/* No nicknames allowed! */
if (strchr(ak->user, '!')) {
- anope_SendAkillDel(ak->user, ak->host);
+ ircdproto->SendAkillDel(ak->user, ak->host);
free(ak);
continue;
}
@@ -241,7 +241,7 @@ static void load_old_akill(void)
if (match_wild_nocase(amask, mask2)
&& (entry->expires >= ak->expires
|| entry->expires == 0)) {
- anope_SendAkillDel(ak->user, ak->host);
+ ircdproto->SendAkillDel(ak->user, ak->host);
free(ak);
ak = NULL;
break;
@@ -914,7 +914,7 @@ static void free_akill_entry(SList * slist, void *item)
Akill *ak = (Akill *)item;
/* Remove the AKILLs from all the servers */
- anope_SendAkillDel(ak->user, ak->host);
+ ircdproto->SendAkillDel(ak->user, ak->host);
/* Free the structure */
free(ak->user);