summaryrefslogtreecommitdiff
path: root/src/operserv.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 17:33:41 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 17:33:41 +0000
commitab07a491a49df5178fb6de1a1d7b3cf1dec8dfc4 (patch)
tree9438c1f311b276c14834965d9d1d25e86c2cc831 /src/operserv.c
parent143ccccbb6d2e86e819bdb41f7021a353f5a72c9 (diff)
Replaced anope_SendAkillDel() with direct call to SendAkillDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1322 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/operserv.c')
-rw-r--r--src/operserv.c6
1 files changed, 3 insertions, 3 deletions
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);