From 5435d4f303c30941ce5b05cdc1e0bc1af52c9882 Mon Sep 17 00:00:00 2001 From: p0wer Date: Fri, 23 Apr 2010 17:03:03 -0500 Subject: [PATCH] Fix spelling error in CONFIG_GM_WHISPERING. --HG-- branch : trunk --- src/game/Player.cpp | 2 +- src/game/World.cpp | 2 +- src/game/World.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 16cc48c44f..cd0d12d439 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 aa290b7e06..5fc5f416a6 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 dee7eaa1c0..ef3e061695 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,