diff options
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 { |