From cd28fdc1929585e5ca1b57331fd5009ba6e72cc4 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Oct 2012 01:01:45 -0400 Subject: [PATCH] Show the correct reciever nick when use strict privmsg is enabled --- src/messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::vectornick; - 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; }