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 /include | |
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 'include')
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | include/services.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h index cc359350a..ecab9aedd 100644 --- a/include/extern.h +++ b/include/extern.h @@ -609,7 +609,6 @@ E int servernum; /**** ircd.c ****/ E void pmodule_ircd_proto(IRCDProtoNew *); E void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av)); -E void pmodule_cmd_akill(void (*func) (const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason)); E void pmodule_cmd_svskill(void (*func) (const char *source, const char *user, const char *buf)); E void pmodule_cmd_svsmode(void (*func) (User * u, int ac, const char **av)); E void pmodule_cmd_372(void (*func) (const char *source, const char *msg)); diff --git a/include/services.h b/include/services.h index f68881a8d..7c106a8a2 100644 --- a/include/services.h +++ b/include/services.h @@ -1075,7 +1075,6 @@ struct session_ { **/ typedef struct ircd_proto_ { void (*ircd_set_mod_current_buffer)(int ac, char **av); - void (*ircd_cmd_akill)(const char *user, const char *host, const char *who, time_t when,time_t expires, const char *reason); void (*ircd_cmd_svskill)(const char *source, const char *user, const char *buf); void (*ircd_cmd_svsmode)(User * u, int ac, const char **av); void (*ircd_cmd_372)(const char *source, const char *msg); @@ -1151,6 +1150,7 @@ class IRCDProtoNew { virtual void cmd_remove_akill(const char *, const char *) = 0; virtual void cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when) = 0; virtual void cmd_vhost_off(User *) { } + virtual void cmd_akill(const char *, const char *, const char *, time_t, time_t, const char *) = 0; }; typedef struct ircd_modes_ { |