diff options
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/configreader.h b/include/configreader.h index a98736640..001d4a92a 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -311,12 +311,6 @@ class CoreExport ServerConfig */ bool DisabledDontExist; - /** This variable contains a space-seperated list - * of commands which are disabled by the - * administrator of the server for non-opers. - */ - std::string DisabledCommands; - /** This variable identifies which usermodes have been diabled. */ std::bitset<64> DisabledUModes; @@ -484,7 +478,8 @@ class CoreExport ServerConfig void Fill(); - bool ApplyDisabledCommands(const std::string& data); + /** Disables the commands specified in <disabled:commands>. */ + bool ApplyDisabledCommands(); /** Escapes a value for storage in a configuration key. * @param str The string to escape. |