From ac84a10088a35a032a330c290a64235d274489ce Mon Sep 17 00:00:00 2001 From: holly Date: Fri, 3 Sep 2021 21:12:42 +0100 Subject: [PATCH] log messages sent by users in public channels --- server/Packets/SendPublicMessage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/Packets/SendPublicMessage.js b/server/Packets/SendPublicMessage.js index b34d301..0108ca2 100644 --- a/server/Packets/SendPublicMessage.js +++ b/server/Packets/SendPublicMessage.js @@ -27,6 +27,8 @@ module.exports = function(CurrentUser, CurrentPacket) { return; } + global.consoleHelper.printChat(`${CurrentUser.username} in ${CurrentPacket.data.target} sent: ${CurrentPacket.data.message}`); + const osuPacketWriter = new osu.Bancho.Writer; osuPacketWriter.SendMessage({ sendingClient: CurrentUser.username,