changed amx_ban/amx_banip to only require 3 args

This commit is contained in:
CheesyPeteza 2004-09-19 23:44:48 +00:00
parent 89f5a45e1d
commit 3f1c730863

View File

@ -164,7 +164,7 @@ public cmdAddBan(id,level,cid) {
} }
public cmdBan(id,level,cid) { public cmdBan(id,level,cid) {
if (!cmd_access(id,level,cid,4)) if (!cmd_access(id,level,cid,3))
return PLUGIN_HANDLED return PLUGIN_HANDLED
new target[32],minutes[8],reason[64] new target[32],minutes[8],reason[64]
read_argv(1,target,31) read_argv(1,target,31)
@ -221,7 +221,7 @@ public cmdBan(id,level,cid) {
} }
public cmdBanIP(id,level,cid) { public cmdBanIP(id,level,cid) {
if (!cmd_access(id,level,cid,4)) if (!cmd_access(id,level,cid,3))
return PLUGIN_HANDLED return PLUGIN_HANDLED
new target[32],minutes[8],reason[64] new target[32],minutes[8],reason[64]
read_argv(1,target,31) read_argv(1,target,31)