mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
m_shun Display shun target correctly in the error message when adding a new shun and it exists
This commit is contained in:
parent
9c5629085a
commit
feb937edf6
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user