aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
authorGenars & Aokromes <none@none>2009-05-14 23:07:17 +0200
committerGenars & Aokromes <none@none>2009-05-14 23:07:17 +0200
commit854e791c2fcebc3d5244e5924574acb6f20ad896 (patch)
treeccd6d3d19c3c037d578480943c6e9cb5813c41cc /src/game/World.cpp
parent662dbb97448dddef46cc5cad61bef6afaa2c19bd (diff)
New server options to block adding GMs to friends by players and to block inviting GMs to parties
--HG-- branch : trunk
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index fa44e527da5..665fb6d4bdc 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -792,7 +792,9 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_GM_IN_GM_LIST] = sConfig.GetBoolDefault("GM.InGMList", false);
m_configs[CONFIG_GM_IN_WHO_LIST] = sConfig.GetBoolDefault("GM.InWhoList", false);
m_configs[CONFIG_GM_LOG_TRADE] = sConfig.GetBoolDefault("GM.LogTrade", false);
- m_configs[CONFIG_START_GM_LEVEL] = sConfig.GetIntDefault("GM.StartLevel", 1);
+ m_configs[CONFIG_START_GM_LEVEL] = sConfig.GetIntDefault("GM.StartLevel", 1);
+ m_configs[CONFIG_ALLOW_GM_GROUP] = sConfig.GetBoolDefault("GM.AllowInvite", false);
+ m_configs[CONFIG_ALLOW_GM_FRIEND] = sConfig.GetBoolDefault("GM.AllowFriend", false);
if(m_configs[CONFIG_START_GM_LEVEL] < m_configs[CONFIG_START_PLAYER_LEVEL])
{
sLog.outError("GM.StartLevel (%i) must be in range StartPlayerLevel(%u)..%u. Set to %u.",