From 552c4a47b18a3373b46512a00bfce360f30a5cea Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 19:06:00 +0000 Subject: Replaced anope_cmd_privmsg() and privmsg() with direct call to SendPrivmsg() in IRCDProto class. Added SendPrivmsgInternal() function to IRCDProto class, now SendPrivmsg() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1335 5417fbe8-f217-4b02-8779-1006273d7864 --- src/users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.c') diff --git a/src/users.c b/src/users.c index dee3f645c..482dd4cda 100644 --- a/src/users.c +++ b/src/users.c @@ -297,7 +297,7 @@ void User::SendMessage(const char *source, const std::string &msg) if (UsePrivmsg && ((!this->na && NSDefFlags & NI_MSG) || (this->na && this->na->nc->flags & NI_MSG))) { - anope_cmd_privmsg(source, this->nick, msg.c_str()); + ircdproto->SendPrivmsg(source, this->nick, msg.c_str()); } else { -- cgit