diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | 4996cc4b06c70df801403752e90a7078224beb45 (patch) | |
tree | 234fe6aba81ec3e70e7b8e6dfa92250569a0a8bd /src/ircd.c | |
parent | c08993be094b5d0427985bee46e4d9d0d2ffbe56 (diff) |
Added cmd_akill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1211 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/ircd.c b/src/ircd.c index 005b7b29b..dc7b0d02e 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -46,7 +46,6 @@ void initIrcdProto() { ircdproto.ircd_set_mod_current_buffer = NULL; ircdproto.ircd_set_umode = NULL; - ircdproto.ircd_cmd_akill = NULL; ircdproto.ircd_cmd_svskill = NULL; ircdproto.ircd_cmd_svsmode = NULL; ircdproto.ircd_cmd_372 = NULL; @@ -151,10 +150,9 @@ void anope_cmd_vhost_off(User *u) ircdprotonew->cmd_vhost_off(u); } -void anope_cmd_akill(const char *user, const char *host, const char *who, time_t when, - time_t expires, const char *reason) +void anope_cmd_akill(const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason) { - ircdproto.ircd_cmd_akill(user, host, who, when, expires, reason); + ircdprotonew->cmd_akill(user, host, who, when, expires, reason); } void anope_cmd_svskill(const char *source, const char *user, const char *fmt, ...) @@ -687,13 +685,6 @@ void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av)) ircdproto.ircd_set_mod_current_buffer = func; } -void pmodule_cmd_akill(void (*func) - (const char *user, const char *host, const char *who, time_t when, - time_t expires, const char *reason)) -{ - ircdproto.ircd_cmd_akill = func; -} - void pmodule_cmd_svskill(void (*func) (const char *source, const char *user, const char *buf)) { |