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 | 6fa5553b4ba46641b94025cfee7de07550823fdf (patch) | |
tree | 2ef8e76a7f2125819bc4055c7117bd12899d7292 /src/ircd.c | |
parent | efb458a927ce9b0d3542c0fe6093c898f171f036 (diff) |
Added cmd_notice() function to IRCDProtoNew class. (Replaces cmd_notice2)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1229 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/ircd.c b/src/ircd.c index fc41c1905..6a18db638 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_notice2 = NULL; ircdproto.ircd_cmd_serv_notice = NULL; ircdproto.ircd_cmd_serv_privmsg = NULL; ircdproto.ircd_cmd_bot_chan_mode = NULL; @@ -245,9 +244,9 @@ void anope_cmd_message(const char *source, const char *dest, const char *fmt, .. ircdprotonew->cmd_message(source, dest, buf); } -void anope_cmd_notice2(const char *source, const char *dest, const char *msg) +void anope_cmd_notice(const char *source, const char *dest, const char *msg) { - ircdproto.ircd_cmd_notice2(source, dest, msg); + ircdprotonew->cmd_notice(source, dest, msg); } void anope_cmd_action(const char *source, const char *dest, const char *fmt, ...) @@ -663,12 +662,6 @@ void pmodule_cmd_376(void (*func) (const char *source)) } void -pmodule_cmd_notice2(void (*func) (const char *source, const char *dest, const char *msg)) -{ - ircdproto.ircd_cmd_notice2 = func; -} - -void pmodule_cmd_serv_notice(void (*func) (const char *source, const char *dest, const char *msg)) { ircdproto.ircd_cmd_serv_notice = func; |