From e326ab15938c2c8631fee1299c7210eb06971338 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Sun, 18 Mar 2007 12:10:36 +0000 Subject: [PATCH] Fixed amb94 - Name length in amx_psay I'm never trusting Brad again. --- plugins/adminchat.sma | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/adminchat.sma b/plugins/adminchat.sma index b281d55b..7465edcd 100755 --- a/plugins/adminchat.sma +++ b/plugins/adminchat.sma @@ -236,9 +236,10 @@ public cmdPsay(id, level, cid) if (!priv) return PLUGIN_HANDLED + new length = strlen(name) + 1 + get_user_name(priv, name, 31); - new length = strlen(name) + 1 new message[192], name2[32], authid[32], authid2[32], userid, userid2 get_user_authid(id, authid, 31)