Fixed amb94 - Name length in amx_psay
I'm never trusting Brad again.
This commit is contained in:
parent
5252e06c2a
commit
e326ab1593
|
@ -236,9 +236,10 @@ public cmdPsay(id, level, cid)
|
||||||
if (!priv)
|
if (!priv)
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
|
|
||||||
|
new length = strlen(name) + 1
|
||||||
|
|
||||||
get_user_name(priv, name, 31);
|
get_user_name(priv, name, 31);
|
||||||
|
|
||||||
new length = strlen(name) + 1
|
|
||||||
new message[192], name2[32], authid[32], authid2[32], userid, userid2
|
new message[192], name2[32], authid[32], authid2[32], userid, userid2
|
||||||
|
|
||||||
get_user_authid(id, authid, 31)
|
get_user_authid(id, authid, 31)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user