diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ircd.c | 5 | ||||
-rw-r--r-- | src/operserv.c | 8 |
2 files changed, 4 insertions, 9 deletions
diff --git a/src/ircd.c b/src/ircd.c index 953053f2f..821f94709 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_SendAkill(const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason) -{ - ircdproto->SendAkill(user, host, who, when, expires, reason); -} - void anope_SendSVSKill(const char *source, const char *user, const char *fmt, ...) { va_list args; diff --git a/src/operserv.c b/src/operserv.c index 41de66b2c..ab26bc5c2 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -825,7 +825,7 @@ int add_akill(User * u, char *mask, const char *by, const time_t expires, slist_add(&akills, entry); if (AkillOnAdd) - anope_SendAkill(entry->user, entry->host, entry->by, entry->seton, + ircdproto->SendAkill(entry->user, entry->host, entry->by, entry->seton, entry->expires, entry->reason); free(mask2); @@ -858,7 +858,7 @@ int check_akill(const char *nick, const char *username, const char *host, continue; if (match_wild_nocase(ak->user, username) && match_wild_nocase(ak->host, host)) { - anope_SendAkill(ak->user, ak->host, ak->by, ak->seton, + ircdproto->SendAkill(ak->user, ak->host, ak->by, ak->seton, ak->expires, ak->reason); return 1; } @@ -866,7 +866,7 @@ int check_akill(const char *nick, const char *username, const char *host, if (vhost) { if (match_wild_nocase(ak->user, username) && match_wild_nocase(ak->host, vhost)) { - anope_SendAkill(ak->user, ak->host, ak->by, ak->seton, + ircdproto->SendAkill(ak->user, ak->host, ak->by, ak->seton, ak->expires, ak->reason); return 1; } @@ -876,7 +876,7 @@ int check_akill(const char *nick, const char *username, const char *host, if (ip) { if (match_wild_nocase(ak->user, username) && match_wild_nocase(ak->host, ip)) { - anope_SendAkill(ak->user, ak->host, ak->by, ak->seton, + ircdproto->SendAkill(ak->user, ak->host, ak->by, ak->seton, ak->expires, ak->reason); return 1; } |