Trim target in amx_ban to prevent bypassing equali checks
This commit is contained in:
parent
919af60ca9
commit
ab46adc91c
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user