From 717c684eacb691d5923fa03fa274ad5dc14033f7 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_bot_chan_mode() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1234 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 6e56befe4..374ac9918 100644 --- a/include/extern.h +++ b/include/extern.h @@ -610,7 +610,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_bot_chan_mode(void (*func) (const char *nick, const char *chan)); E void pmodule_cmd_351(void (*func) (const char *source)); E void pmodule_cmd_quit(void (*func) (const char *source, const char *buf)); E void pmodule_cmd_pong(void (*func) (const char *servname, const char *who)); diff --git a/include/services.h b/include/services.h index c60d6cbd0..cc1ed7175 100644 --- a/include/services.h +++ b/include/services.h @@ -1060,7 +1060,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_bot_chan_mode)(const char *nick, const char *chan); void (*ircd_cmd_351)(const char *source); void (*ircd_cmd_quit)(const char *source, const char *buf); void (*ircd_cmd_pong)(const char *servname, const char *who); @@ -1326,6 +1325,7 @@ class IRCDProtoNew { { send_cmd(source, "PRIVMSG %s%s :%s", ircd->globaltldprefix, dest, msg); } + virtual void cmd_bot_chan_mode(const char *, const char *) = 0; }; /*************************************************************************/ -- cgit