diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 3ed71efcb..8716ba0e4 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -257,7 +257,8 @@ static void createGuiWindows() localChatTab = new ChatTab(chatWindow, _("General")); localChatTab->setAllowHighlight(false); - localChatTab->loadFromLogFile("#General"); + if (config.getBoolValue("showChatHistory")) + localChatTab->loadFromLogFile("#General"); debugChatTab = new ChatTab(chatWindow, _("Debug")); debugChatTab->setAllowHighlight(false); |