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/chatlogger.h | |
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/chatlogger.h')
-rw-r--r-- | src/chatlogger.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chatlogger.h b/src/chatlogger.h index 91805a8bc..bb02d8127 100644 --- a/src/chatlogger.h +++ b/src/chatlogger.h @@ -59,6 +59,8 @@ class ChatLogger void setBaseLogDir(const std::string &logDir) { mBaseLogDir = logDir; } + void clear(); + private: /** * Sets the file to log to and opens it |