From c08993be094b5d0427985bee46e4d9d0d2ffbe56 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:10 +0000 Subject: 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 --- include/extern.h | 1 - include/services.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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_ { -- cgit