summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-01 12:50:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-01 21:33:36 +0300
commit1c04a68a1604bf59dd2c33195f9f3fb2207a91e2 (patch)
tree7f3dd777179a1e1585600ea40d7667a8d3d827a6 /src/game.cpp
parenta1ca5e04b60902f84eb5da7d5e212ecf66d7f3e6 (diff)
downloadmv-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.tar.gz
mv-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.tar.bz2
mv-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.tar.xz
mv-1c04a68a1604bf59dd2c33195f9f3fb2207a91e2.zip
remove log to chat from logger.
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);