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 | c08993be094b5d0427985bee46e4d9d0d2ffbe56 (patch) | |
| tree | c22c2b0cef6df836c93b6ba82f85f686dcd65bf4 /include | |
| parent | cef2f72082b3ac4d8ebd5795e27fa986db422a33 (diff) | |
Added cmd_vhost_off() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1210 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 310ec59d0..cc359350a 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_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)); 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)); diff --git a/include/services.h b/include/services.h index 8c917b677..f68881a8d 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_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); void (*ircd_cmd_svskill)(const char *source, const char *user, const char *buf); void (*ircd_cmd_svsmode)(User * u, int ac, const char **av); @@ -1151,6 +1150,7 @@ class IRCDProtoNew { virtual void cmd_svsnoop(const char *, int) { } 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 *) { } }; typedef struct ircd_modes_ { |
