diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
| commit | 0f2719990e6b61c9172e0a4593b7a1605bb29f44 (patch) | |
| tree | 3a17771feac2e755d3e5700e49b1b90e5126b42d /include | |
| parent | 6feb4755adb8011d90cc75a934b08eaeff2f7f41 (diff) | |
Added cmd_remove_akill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1199 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 814e3f11b..d97373fad 100644 --- a/include/extern.h +++ b/include/extern.h @@ -610,7 +610,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_remove_akill(void (*func) (const char *user, const char *host)); E void pmodule_cmd_topic(void (*func) (const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when)); E void pmodule_cmd_vhost_off(void (*func) (User * u)); 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)); diff --git a/include/services.h b/include/services.h index d7385e79d..2931fa078 100644 --- a/include/services.h +++ b/include/services.h @@ -1081,7 +1081,6 @@ struct session_ { **/ typedef struct ircd_proto_ { void (*ircd_set_mod_current_buffer)(int ac, char **av); - void (*ircd_cmd_remove_akill)(const char *user, const char *host); void (*ircd_cmd_topic)(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when); void (*ircd_cmd_vhost_off)(User * u); void (*ircd_cmd_akill)(const char *user, const char *host, const char *who, time_t when,time_t expires, const char *reason); @@ -1159,6 +1158,7 @@ typedef struct ircd_proto_ { class IRCDProtoNew { public: virtual void cmd_svsnoop(const char *, int) { } + virtual void cmd_remove_akill(const char *, const char *) = 0; }; typedef struct ircd_modes_ { |
