Fixed amb1891 : Basechat didn't check for blank message in private say's

--HG--
branch : sourcemod-1.0.x
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402430
This commit is contained in:
Matt Woodrow 2008-07-30 08:07:28 +00:00
parent 82d949b34e
commit 28c4f423b0

View File

@ -129,7 +129,7 @@ public Action:Command_SayChat(client, args)
new len = BreakString(message, arg, sizeof(arg));
new target = FindTarget(client, arg, true, false);
if (target == -1)
if (target == -1 || len == -1)
return Plugin_Handled;
decl String:name2[64];