m_shun Display shun target correctly in the error message when adding a new shun and it exists

This commit is contained in:
attilamolnar 2012-07-05 02:12:29 +02:00
parent 9c5629085a
commit feb937edf6

View File

@ -158,7 +158,7 @@ class CommandShun : public Command
else
{
delete r;
user->WriteServ("NOTICE %s :*** Shun for %s already exists", user->nick.c_str(), expr.c_str());
user->WriteServ("NOTICE %s :*** Shun for %s already exists", user->nick.c_str(), target.c_str());
return CMD_FAILURE;
}
}