diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-30 22:03:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-30 22:03:25 +0300 |
commit | 0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2 (patch) | |
tree | 35796ebd3fb85ca0589f239bc93e7637cb124783 /src/client.cpp | |
parent | c2351483dc7c918a592f2a1f52745c6552fb7d0c (diff) | |
download | manaverse-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.tar.gz manaverse-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.tar.bz2 manaverse-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.tar.xz manaverse-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.zip |
Clear char logger on server disconnect.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 18318acb6..835bbc965 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -999,6 +999,8 @@ int Client::gameExec() Net::getNpcHandler()->clearDialogs(); Net::getGuildHandler()->clear(); Net::getPartyHandler()->clear(); + if (chatLogger) + chatLogger->clear(); } mOldState = mState; |