From 1c04a68a1604bf59dd2c33195f9f3fb2207a91e2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Nov 2013 12:50:15 +0300 Subject: remove log to chat from logger. --- src/game.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/game.cpp') 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); -- cgit v1.2.3-60-g2f50