aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp2
-rw-r--r--src/game/World.cpp2
-rw-r--r--src/game/World.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 16cc48c44f4..cd0d12d4390 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -16139,7 +16139,7 @@ bool Player::LoadFromDB(uint32 guid, SqlQueryHolder *holder)
break;
}
- switch (sWorld.getConfig(CONFIG_GM_WISPERING_TO))
+ switch (sWorld.getConfig(CONFIG_GM_WHISPERING_TO))
{
default:
case 0: break; // disable
diff --git a/src/game/World.cpp b/src/game/World.cpp
index aa290b7e061..5fc5f416a67 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -873,7 +873,7 @@ void World::LoadConfigSettings(bool reload)
m_configs[CONFIG_GM_VISIBLE_STATE] = sConfig.GetIntDefault("GM.Visible", 2);
//m_configs[CONFIG_GM_ACCEPT_TICKETS] = sConfig.GetIntDefault("GM.AcceptTickets", 2);
m_configs[CONFIG_GM_CHAT] = sConfig.GetIntDefault("GM.Chat", 2);
- m_configs[CONFIG_GM_WISPERING_TO] = sConfig.GetIntDefault("GM.WhisperingTo", 2);
+ m_configs[CONFIG_GM_WHISPERING_TO] = sConfig.GetIntDefault("GM.WhisperingTo", 2);
m_configs[CONFIG_GM_LEVEL_IN_GM_LIST] = sConfig.GetIntDefault("GM.InGMList.Level", SEC_ADMINISTRATOR);
m_configs[CONFIG_GM_LEVEL_IN_WHO_LIST] = sConfig.GetIntDefault("GM.InWhoList.Level", SEC_ADMINISTRATOR);
diff --git a/src/game/World.h b/src/game/World.h
index dee7eaa1c03..ef3e0616956 100644
--- a/src/game/World.h
+++ b/src/game/World.h
@@ -147,7 +147,7 @@ enum WorldConfigs
CONFIG_GM_VISIBLE_STATE,
CONFIG_GM_ACCEPT_TICKETS,
CONFIG_GM_CHAT,
- CONFIG_GM_WISPERING_TO,
+ CONFIG_GM_WHISPERING_TO,
CONFIG_GM_LEVEL_IN_GM_LIST,
CONFIG_GM_LEVEL_IN_WHO_LIST,
CONFIG_GM_LOG_TRADE,