From 0f2719990e6b61c9172e0a4593b7a1605bb29f44 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:09 +0000 Subject: 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 --- 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 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_ { -- cgit