diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:06:00 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:06:00 +0000 |
commit | 552c4a47b18a3373b46512a00bfce360f30a5cea (patch) | |
tree | 3a458d3c53bfe78d63c28fe520b2dd83b9a0d11f /src/users.c | |
parent | 8001cc147dded5bb8acefe6cb93d6defb3f92562 (diff) |
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
Diffstat (limited to 'src/users.c')
-rw-r--r-- | src/users.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |