diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chat-server/chathandler.cpp | 12 | ||||
-rw-r--r-- | src/game-server/gamehandler.cpp | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/chat-server/chathandler.cpp b/src/chat-server/chathandler.cpp index 2e0bd600..9c74cc30 100644 --- a/src/chat-server/chathandler.cpp +++ b/src/chat-server/chathandler.cpp @@ -276,22 +276,12 @@ void ChatHandler::handleChatMessage(ChatClient &client, MessageIn &msg) if (channel) { - LOG_DEBUG(client.characterName << " says in channel " << channelId - << ": " << text); - MessageOut result(CPMSG_PUBMSG); result.writeInt16(channelId); result.writeString(client.characterName); result.writeString(text); sendInChannel(channel, result); } - - // log transaction - Transaction trans; - trans.mCharacterId = client.characterId; - trans.mAction = TRANS_MSG_PUBLIC; - trans.mMessage = "User said " + text; - storage->addTransaction(trans); } void ChatHandler::handleAnnounce(const std::string &message, int senderId, @@ -628,8 +618,6 @@ void ChatHandler::sayToPlayer(ChatClient &computer, const std::string &playerName, const std::string &text) { - LOG_DEBUG(computer.characterName << " says to " << playerName << ": " - << text); // Send it to the being if the being exists MessageOut result(CPMSG_PRIVMSG); result.writeString(computer.characterName); diff --git a/src/game-server/gamehandler.cpp b/src/game-server/gamehandler.cpp index cb6c820f..7e849dfb 100644 --- a/src/game-server/gamehandler.cpp +++ b/src/game-server/gamehandler.cpp @@ -412,9 +412,6 @@ void GameHandler::handleSay(GameClient &client, MessageIn &message) if (!client.character->isMuted()) { GameState::sayAround(client.character, say); - std::string msg = client.character->getName() + " said " + say; - accountHandler->sendTransaction(client.character->getDatabaseID(), - TRANS_MSG_PUBLIC, msg); } else { |