Trim target in amx_ban to prevent bypassing equali checks

This commit is contained in:
xPaw 2014-07-29 00:00:07 +03:00
parent 919af60ca9
commit ab46adc91c

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))
{