From f748e815c64ac9b1343cf53aac682c7f6993ebb8 Mon Sep 17 00:00:00 2001 From: Obuss Date: Sat, 14 May 2016 06:20:31 -0500 Subject: [PATCH] Made sm_sprayban length argument mandatory Because people enjoy not using it and bans end up being permanent for no good reason. :< --- SprayManager/scripting/SprayManager.sp | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/SprayManager/scripting/SprayManager.sp b/SprayManager/scripting/SprayManager.sp index b58d1473..ee5b3469 100644 --- a/SprayManager/scripting/SprayManager.sp +++ b/SprayManager/scripting/SprayManager.sp @@ -1303,9 +1303,9 @@ public Action Command_AdminSpray(int client, int argc) public Action Command_SprayBan(int client, int argc) { - if (argc < 1) + if (argc < 2) { - ReplyToCommand(client, "[SprayManager] Usage: sm_sprayban "); + ReplyToCommand(client, "[SprayManager] Usage: sm_sprayban