1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 08:16:38 +02:00

Show the correct reciever nick when use strict privmsg is enabled

This commit is contained in:
Adam
2012-10-06 01:01:45 -04:00
parent 25fe9c7084
commit cd28fdc192
+1 -1
View File
@@ -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;
}