summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9b6b5a339..342aaf249 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -314,9 +314,6 @@ static void createGuiWindows()
gmChatTab = new GmTab(chatWindow);
}
- if (config.getBoolValue("logToChat"))
- logger->setChatWindow(chatWindow);
-
if (!isSafeMode && chatWindow)
chatWindow->loadState();
@@ -338,7 +335,6 @@ static void destroyGuiWindows()
{
Net::getGeneralHandler()->gameEnded();
- logger->setChatWindow(nullptr);
if (whoIsOnline)
whoIsOnline->setAllowUpdate(false);