Configs now support "1" in addition to the previous "yes" and "on" settings.

This commit is contained in:
Greyscale 2009-12-31 00:05:46 -08:00
parent 10fb3829c9
commit 9e3dc116d8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}