summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 27b10681b..35ac7f1f0 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -200,7 +200,8 @@ void GuildManager::createTab(Guild *const guild)
if (!mTab)
{
mTab = new GuildChatTab(chatWindow);
- mTab->loadFromLogFile("#Guild");
+ if (config.getBoolValue("showChatHistory"))
+ mTab->loadFromLogFile("#Guild");
if (player_node)
player_node->addGuild(guild);
}