diff options
author | Adam <Adam@anope.org> | 2012-10-06 01:01:45 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-06 01:01:45 -0400 |
commit | cd28fdc1929585e5ca1b57331fd5009ba6e72cc4 (patch) | |
tree | b4f0d399b1fc101b6aa5e6807b76d94fcd71df60 /src/messages.cpp | |
parent | 25fe9c70848ded887ba421f4b33796633c15e779 (diff) |
Show the correct reciever nick when use strict privmsg is enabled
Diffstat (limited to 'src/messages.cpp')
-rw-r--r-- | src/messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index 784b482cc..ad3ef661e 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -225,7 +225,7 @@ bool CoreIRCDMessagePrivmsg::Run(MessageSource &source, const std::vector<Anope: if (!bi) return true; Log(LOG_DEBUG) << "Ignored PRIVMSG without @ from " << u->nick; - u->SendMessage(bi, _("\"/msg %s\" is no longer supported. Use \"/msg %s@%s\" or \"/%s\" instead."), receiver.c_str(), receiver.c_str(), Config->ServerName.c_str(), receiver.c_str()); + u->SendMessage(bi, _("\"/msg %s\" is no longer supported. Use \"/msg %s@%s\" or \"/%s\" instead."), bi->nick.c_str(), bi->nick.c_str(), Config->ServerName.c_str(), bi->nick.c_str()); return true; } |