From fe5814d5ba80dfb45cba5c3286ce460c05ebf91d Mon Sep 17 00:00:00 2001 From: TomNordesen Date: Tue, 7 Dec 2021 16:31:53 +0100 Subject: [PATCH] Nice Commit! :) --- dNet/ClientPackets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dNet/ClientPackets.cpp b/dNet/ClientPackets.cpp index ef5b68ef..566120f6 100644 --- a/dNet/ClientPackets.cpp +++ b/dNet/ClientPackets.cpp @@ -64,6 +64,8 @@ void ClientPackets::HandleChatMessage(const SystemAddress& sysAddr, Packet* pack std::string playerName = user->GetLastUsedChar()->GetName(); bool isMythran = user->GetLastUsedChar()->GetGMLevel() > 0; + Game::logger->Log("IsUserMythran", "%s", isMythran?"Yes, they are mythran\n":"No, they are not mythran\n"); + Game::logger->Log("IsMessageApproved", "%s", user->GetLastChatMessageApproved()?"Yes, Their message is approved\n":"No, their message is not approved\n"); if (!user->GetLastChatMessageApproved() && !isMythran) return;