Fixed amb1891 : Basechat didn't check for blank message in private say's
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402431
This commit is contained in:
parent
3c0b289694
commit
401c6b445d
@ -129,7 +129,7 @@ public Action:Command_SayChat(client, args)
|
|||||||
new len = BreakString(message, arg, sizeof(arg));
|
new len = BreakString(message, arg, sizeof(arg));
|
||||||
new target = FindTarget(client, arg, true, false);
|
new target = FindTarget(client, arg, true, false);
|
||||||
|
|
||||||
if (target == -1)
|
if (target == -1 || len == -1)
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
|
|
||||||
decl String:name2[64];
|
decl String:name2[64];
|
||||||
|
Loading…
Reference in New Issue
Block a user