diff options
| author | n0n4m3 <none@none> | 2009-12-27 16:10:15 +0100 |
|---|---|---|
| committer | n0n4m3 <none@none> | 2009-12-27 16:10:15 +0100 |
| commit | d82d10ff3664edbe4cf534563865b6c9b14f40da (patch) | |
| tree | cd18b75c7c077e82603d3da0d59be8f43cb834bf /src/game/World.cpp | |
| parent | 7e2855f53b7b0aaddc9739c95d12d01c5a103fda (diff) | |
Added new config options chat channel level limit, option to disable player commands of any kind
--HG--
branch : trunk
Diffstat (limited to 'src/game/World.cpp')
| -rw-r--r-- | src/game/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index 21b1372f1af..b0e7afaf741 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -604,6 +604,8 @@ void World::LoadConfigSettings(bool reload) m_configs[CONFIG_COMPRESSION] = 1; } m_configs[CONFIG_ADDON_CHANNEL] = sConfig.GetBoolDefault("AddonChannel", true); + m_configs[CONFIG_CHAT_CHANNEL_LEVEL_REQ] = sConfig.GetIntDefault("ChannelLevelReq", 1); + m_configs[CONFIG_ALLOW_PLAYER_COMMANDS] = sConfig.GetBoolDefault("AllowPlayerCommands", 1); m_configs[CONFIG_GRID_UNLOAD] = sConfig.GetBoolDefault("GridUnload", true); m_configs[CONFIG_INTERVAL_SAVE] = sConfig.GetIntDefault("PlayerSaveInterval", 15 * MINUTE * IN_MILISECONDS); m_configs[CONFIG_INTERVAL_DISCONNECT_TOLERANCE] = sConfig.GetIntDefault("DisconnectToleranceInterval", 0); |
