1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 10:36:38 +02:00

Expand options:hideprivilegedcommands to not show commands requiring authentication to unidentified users

This commit is contained in:
Adam
2012-11-01 16:15:44 -04:00
parent d90d5d538b
commit a0a54fdfe0
4 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -1251,7 +1251,7 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"options", "ulineservers", "", new ValueContainerString(&UlineServers), DT_STRING, NoValidation},
{"options", "botmodes", "", new ValueContainerString(&conf->BotModes), DT_STRING, NoValidation},
{"options", "retrywait", "60", new ValueContainerInt(&conf->RetryWait), DT_INTEGER, ValidateNotZero},
{"options", "hideprivilegedcommands", "no", new ValueContainerBool(&conf->HidePrivilegedCommands), DT_BOOLEAN, NoValidation},
{"options", "hideprivilegedcommands", "yes", new ValueContainerBool(&conf->HidePrivilegedCommands), DT_BOOLEAN, NoValidation},
{"options", "nonicknameownership", "no", new ValueContainerBool(&conf->NoNicknameOwnership), DT_BOOLEAN | DT_NORELOAD, NoValidation},
{"options", "regexengine", "", new ValueContainerString(&conf->RegexEngine), DT_STRING, NoValidation},
{"nickserv", "name", "", new ValueContainerString(&conf->NickServ), DT_STRING, NoValidation},