add option to log chat history

This commit is contained in:
Ted John committed 2016-05-30 18:01:17 +01:00
1 parent 618d13a9a3
commit feb65ea93c
6 files changed
+24 -8

No files matched your search

+4
View File
@@ -944,6 +944,10 @@ void Network::BeginChatLog()
void Network::AppendChatLog(const utf8 *text)
{
if (!gConfigNetwork.log_chat) {
return;
}
const utf8 *chatLogPath = _chatLogPath.c_str();
utf8 directory[MAX_PATH];