diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | 717c684eacb691d5923fa03fa274ad5dc14033f7 (patch) | |
tree | ad0371cf3d79bdb8e3805fbb05fc344699bad1b5 /src/ircd.c | |
parent | a3d2bc65e2ea2327966257d6170f46b0f7f611f3 (diff) |
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
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c index e4523d94b..a812164ea 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -50,7 +50,6 @@ void initIrcdProto() ircdproto.ircd_cmd_372_error = NULL; ircdproto.ircd_cmd_375 = NULL; ircdproto.ircd_cmd_376 = NULL; - ircdproto.ircd_cmd_bot_chan_mode = NULL; ircdproto.ircd_cmd_351 = NULL; ircdproto.ircd_cmd_quit = NULL; ircdproto.ircd_cmd_pong = NULL; @@ -286,7 +285,7 @@ void anope_cmd_serv_privmsg(const char *source, const char *dest, const char *ms void anope_cmd_bot_chan_mode(const char *nick, const char *chan) { - ircdproto.ircd_cmd_bot_chan_mode(nick, chan); + ircdprotonew->cmd_bot_chan_mode(nick, chan); } void anope_cmd_351(const char *source) @@ -659,11 +658,6 @@ void pmodule_cmd_376(void (*func) (const char *source)) ircdproto.ircd_cmd_376 = func; } -void pmodule_cmd_bot_chan_mode(void (*func) (const char *nick, const char *chan)) -{ - ircdproto.ircd_cmd_bot_chan_mode = func; -} - void pmodule_cmd_351(void (*func) (const char *source)) { ircdproto.ircd_cmd_351 = func; |