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 | d4d0cf7d7bd55c12bf438919845b2428c46f69af (patch) | |
| tree | 0b79247c33263a0efcadcaee3751ef1278e44ab3 /include | |
| parent | 8d3d1775aeec744d54b3acfacc01cc70eadb44be (diff) | |
Added cmd_svsnoop function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1196 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 8b371167c..814e3f11b 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_svsnoop(void (*func) (const char *server, int set)); 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)); diff --git a/include/services.h b/include/services.h index 09ee7b2a7..d7385e79d 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_svsnoop)(const char *server, int set); 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); @@ -1159,6 +1158,7 @@ typedef struct ircd_proto_ { class IRCDProtoNew { public: + virtual void cmd_svsnoop(const char *, int) { } }; typedef struct ircd_modes_ { |
