mirror of
https://github.com/anope/anope.git
synced 2026-06-25 11:16:37 +02:00
Show the correct reciever nick when use strict privmsg is enabled
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user