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 | a3d2bc65e2ea2327966257d6170f46b0f7f611f3 (patch) | |
tree | dd08d9cb3c15db68f32dc3663a4f6721aa0bdebf /src/ircd.c | |
parent | c4d520b465f8aa7f5924b17b697fa760b6ead409 (diff) |
Added cmd_serv_privmsg() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1233 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index ad09ccf73..e4523d94b 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_serv_privmsg = NULL; ircdproto.ircd_cmd_bot_chan_mode = NULL; ircdproto.ircd_cmd_351 = NULL; ircdproto.ircd_cmd_quit = NULL; @@ -282,7 +281,7 @@ void anope_cmd_serv_notice(const char *source, const char *dest, const char *msg void anope_cmd_serv_privmsg(const char *source, const char *dest, const char *msg) { - ircdproto.ircd_cmd_serv_privmsg(source, dest, msg); + ircdprotonew->cmd_serv_privmsg(source, dest, msg); } void anope_cmd_bot_chan_mode(const char *nick, const char *chan) @@ -660,12 +659,6 @@ void pmodule_cmd_376(void (*func) (const char *source)) ircdproto.ircd_cmd_376 = func; } -void pmodule_cmd_serv_privmsg(void (*func) - (const char *source, const char *dest, const char *msg)) -{ - ircdproto.ircd_cmd_serv_privmsg = func; -} - void pmodule_cmd_bot_chan_mode(void (*func) (const char *nick, const char *chan)) { ircdproto.ircd_cmd_bot_chan_mode = func; |