diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-01 12:50:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-01 21:33:36 +0300 |
commit | 1c04a68a1604bf59dd2c33195f9f3fb2207a91e2 (patch) | |
tree | 7f3dd777179a1e1585600ea40d7667a8d3d827a6 /src/game.cpp | |
parent | a1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6 (diff) | |
download | plus-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.tar.gz plus-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.tar.bz2 plus-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.tar.xz plus-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.zip |
remove log to chat from logger.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
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); |