From a3d2bc65e2ea2327966257d6170f46b0f7f611f3 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_serv_privmsg() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1233 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/ratbox.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/protocol/ratbox.c') diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index eed5e4e70..f5d9dcfe1 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -462,12 +462,6 @@ void RatboxProto::cmd_privmsg(const char *source, const char *dest, const char * send_cmd(UseTS6 ? (ud ? ud->uid : source) : source, "PRIVMSG %s :%s", UseTS6 ? (ud2 ? ud2->uid : dest) : dest, buf); } -void ratbox_cmd_serv_privmsg(const char *source, const char *dest, const char *msg) -{ - send_cmd(source, "PRIVMSG $$%s :%s", dest, msg); -} - - void ratbox_cmd_global(const char *source, const char *buf) { Uid *u; @@ -1641,7 +1635,6 @@ void moduleAddAnopeCmds() pmodule_cmd_372_error(ratbox_cmd_372_error); pmodule_cmd_375(ratbox_cmd_375); pmodule_cmd_376(ratbox_cmd_376); - pmodule_cmd_serv_privmsg(ratbox_cmd_serv_privmsg); pmodule_cmd_bot_chan_mode(ratbox_cmd_bot_chan_mode); pmodule_cmd_351(ratbox_cmd_351); pmodule_cmd_quit(ratbox_cmd_quit); -- cgit