summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 2794ffeb9..6d41b2412 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -636,7 +636,7 @@ void unreal_cmd_notice(const char *source, const char *dest, const char *buf)
}
if (NSDefFlags & NI_MSG) {
- unreal_cmd_privmsg(source, dest, buf);
+ ircd_proto.cmd_privmsg(source, dest, buf);
} else {
send_cmd(source, "%s %s :%s", send_token("NOTICE", "B"), dest,
buf);
@@ -648,15 +648,6 @@ void unreal_cmd_notice2(const char *source, const char *dest, const char *msg)
send_cmd(source, "%s %s :%s", send_token("NOTICE", "B"), dest, msg);
}
-void unreal_cmd_privmsg(const char *source, const char *dest, const char *buf)
-{
- if (!buf) {
- return;
- }
-
- send_cmd(source, "%s %s :%s", send_token("PRIVMSG", "!"), dest, buf);
-}
-
void unreal_cmd_serv_notice(const char *source, const char *dest, const char *msg)
{
send_cmd(source, "%s $%s :%s", send_token("NOTICE", "B"), dest, msg);
@@ -2075,7 +2066,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_376(unreal_cmd_376);
pmodule_cmd_notice(unreal_cmd_notice);
pmodule_cmd_notice2(unreal_cmd_notice2);
- pmodule_cmd_privmsg(unreal_cmd_privmsg);
pmodule_cmd_serv_notice(unreal_cmd_serv_notice);
pmodule_cmd_serv_privmsg(unreal_cmd_serv_privmsg);
pmodule_cmd_bot_chan_mode(unreal_cmd_bot_chan_mode);