Log messages from rooms, games and chats

This commit is contained in:
Fabio Bas
2014-12-13 18:43:59 +01:00
parent 02978ce404
commit c875054fb5
3 changed files with 10 additions and 1 deletions

View File

@@ -345,6 +345,8 @@ void Server::externalRoomSay(int roomId, const QString &userName, const QString
return;
}
room->say(userName, message, false);
getDatabaseInterface()->logMessage(0, userName, "ISL", message, Server_DatabaseInterface::MessageTargetRoom, room->getId(), room->getName());
}
void Server::externalRoomGameListChanged(int roomId, const ServerInfo_Game &gameInfo)