Fixed double print when sending psay to self (bug 5649, r=psychonic).

This commit is contained in:
Peace-Maker 2013-03-18 19:58:18 -04:00
parent f52ea98eb4
commit ef5faaaa4a

View File

@ -323,7 +323,7 @@ public Action:Command_SmPsay(client, args)
{
PrintToServer("(Private: %N) %s: %s", target, name, message);
}
else
else if (target != client)
{
PrintToChat(client, "\x04(Private: %N) %s: \x01%s", target, name, message);
}