From 9e3dc116d8ebe66625a134279ede5a7cb1b2aa09 Mon Sep 17 00:00:00 2001 From: Greyscale Date: Thu, 31 Dec 2009 00:05:46 -0800 Subject: [PATCH] Configs now support "1" in addition to the previous "yes" and "on" settings. --- src/zr/config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/config.inc b/src/zr/config.inc index 3db5025..9871634 100644 --- a/src/zr/config.inc +++ b/src/zr/config.inc @@ -900,7 +900,7 @@ public Action:ConfigReloadAllCommand(client, argc) stock bool:ConfigSettingToBool(const String:option[]) { // If option is equal to "yes," then return true. - if (StrEqual(option, "yes", false) || StrEqual(option, "on", false)) + if (StrEqual(option, "yes", false) || StrEqual(option, "on", false) || StrEqual(option, "1", false)) { return true; }