summaryrefslogtreecommitdiff
path: root/src/chatlogger.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-30 22:03:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-30 22:03:25 +0300
commit0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2 (patch)
tree35796ebd3fb85ca0589f239bc93e7637cb124783 /src/chatlogger.h
parentc2351483dc7c918a592f2a1f52745c6552fb7d0c (diff)
downloadmv-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.tar.gz
mv-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.tar.bz2
mv-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.tar.xz
mv-0fc75f671dace65f1ed8d5b6a66b17b9ab15a9c2.zip
Clear char logger on server disconnect.
Diffstat (limited to 'src/chatlogger.h')
-rw-r--r--src/chatlogger.h2
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