Merge pull request #86 from xPaw/amx-ban

Trim target in amx_ban to prevent bypassing equali checks
This commit is contained in:
Vincent Herbet 2014-07-28 23:02:25 +02:00
commit 4c1dac3cd5

View File

@ -326,6 +326,7 @@ public cmdAddBan(id, level, cid)
read_argv(2, minutes, charsmax(minutes))
read_argv(3, reason, charsmax(reason))
trim(arg);
if (!(get_user_flags(id) & ADMIN_RCON))
{