From ac05ac3857b8c3ccd8a6ea2444c738c954668ee2 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:11 +0000 Subject: Added cmd_kick() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1220 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 fd76bfd57..6867f2667 100644 --- a/include/extern.h +++ b/include/extern.h @@ -613,7 +613,6 @@ E void pmodule_cmd_372(void (*func) (const char *source, const char *msg)); E void pmodule_cmd_372_error(void (*func) (const char *source)); E void pmodule_cmd_375(void (*func) (const char *source)); E void pmodule_cmd_376(void (*func) (const char *source)); -E void pmodule_cmd_kick(void (*func) (const char *source, const char *chan, const char *user, const char *buf)); E void pmodule_cmd_notice_ops(void (*func) (const char *source, const char *dest, const char *buf)); E void pmodule_cmd_notice(void (*func) (const char *source, const char *dest, const char *buf)); E void pmodule_cmd_notice2(void (*func) (const char *source, const char *dest, const char *msg)); diff --git a/include/services.h b/include/services.h index 9fb548bd7..1f4d7f0ca 100644 --- a/include/services.h +++ b/include/services.h @@ -1079,7 +1079,6 @@ typedef struct ircd_proto_ { void (*ircd_cmd_372_error)(const char *source); void (*ircd_cmd_375)(const char *source); void (*ircd_cmd_376)(const char *source); - void (*ircd_cmd_kick)(const char *source, const char *chan, const char *user, const char *buf); void (*ircd_cmd_notice_ops)(const char *source, const char *dest, const char *buf); void (*ircd_cmd_notice)(const char *source, const char *dest, const char *buf); void (*ircd_cmd_notice2)(const char *source, const char *dest, const char *msg); @@ -1151,6 +1150,7 @@ class IRCDProtoNew { virtual void cmd_guest_nick(const char *, const char *, const char *, const char *, const char *) { } virtual void cmd_mode(const char *source, const char *dest, const char *buf) = 0; virtual void cmd_bot_nick(const char *, const char *, const char *, const char *, const char *) = 0; + virtual void cmd_kick(const char *source, const char *chan, const char *user, const char *buf) = 0; }; typedef struct ircd_modes_ { -- cgit