From 58ab9f234cdabbf1a181fcd4d090a7b7b98836cc Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:11 +0000 Subject: Added cmd_message() function to IRCDProtoNew class. (Replaces cmd_notice) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1227 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/unreal32.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/protocol/unreal32.c') diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 6d41b2412..b3f2a31fa 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -629,20 +629,6 @@ void UnrealIRCdProto::cmd_notice_ops(const char *source, const char *dest, const } -void unreal_cmd_notice(const char *source, const char *dest, const char *buf) -{ - if (!buf) { - return; - } - - if (NSDefFlags & NI_MSG) { - ircd_proto.cmd_privmsg(source, dest, buf); - } else { - send_cmd(source, "%s %s :%s", send_token("NOTICE", "B"), dest, - buf); - } -} - 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); @@ -2064,7 +2050,6 @@ void moduleAddAnopeCmds() pmodule_cmd_372_error(unreal_cmd_372_error); pmodule_cmd_375(unreal_cmd_375); pmodule_cmd_376(unreal_cmd_376); - pmodule_cmd_notice(unreal_cmd_notice); pmodule_cmd_notice2(unreal_cmd_notice2); pmodule_cmd_serv_notice(unreal_cmd_serv_notice); pmodule_cmd_serv_privmsg(unreal_cmd_serv_privmsg); -- cgit