From f911684c7da03ffaa0fbc5335dbe53d05dc05f71 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 17 Feb 2007 20:10:54 +0000 Subject: Change /msg $* to have the correct source the same way /notice $* does git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6588 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_privmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_privmsg.cpp') diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index abf46814a..26e63dfb9 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -49,7 +49,7 @@ CmdResult cmd_privmsg::Handle (const char** parameters, int pcnt, userrec *user) const char* servermask = parameters[0] + 1; if (match(ServerInstance->Config->ServerName,servermask)) { - ServerInstance->ServerPrivmsgAll("%s",parameters[1]); + user->SendAll("PRIVMSG", "%s", parameters[1]); } FOREACH_MOD(I_OnUserMessage,OnUserMessage(user,(void*)parameters[0],TYPE_SERVER,parameters[1],0,except_list)); return CMD_SUCCESS; -- cgit v1.2.3