From 9cd09f012ff7c01fbd51b972f9b716cfc8246b2c Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 29 Sep 2011 00:35:15 +0200 Subject: Don't log private chat messages. This is against privacy rules of most servers anyway. Resolves: Mana-Mantis #392. --- src/chat-server/chathandler.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/chat-server/chathandler.cpp b/src/chat-server/chathandler.cpp index 3f11d71d..e7ef11d2 100644 --- a/src/chat-server/chathandler.cpp +++ b/src/chat-server/chathandler.cpp @@ -350,14 +350,6 @@ void ChatHandler::handlePrivMsgMessage(ChatClient &client, MessageIn &msg) // We seek the player to whom the message is told and send it to her/him. sayToPlayer(client, user, text); - - // log transaction - Transaction trans; - trans.mCharacterId = client.characterId; - trans.mAction = TRANS_MSG_PRIVATE; - trans.mMessage = "User said " + text; - trans.mMessage.append(" to " + user); - storage->addTransaction(trans); } void ChatHandler::handleWhoMessage(ChatClient &client) -- cgit v1.2.3-60-g2f50