Configs now support "1" in addition to the previous "yes" and "on" settings.
This commit is contained in:
parent
10fb3829c9
commit
9e3dc116d8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user