summaryrefslogtreecommitdiff
path: root/src/ircd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c11
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;