From 37f28d7f5a16d7fdc2cfeef75be4b6023e7ef11f Mon Sep 17 00:00:00 2001 From: Goodlyay Date: Fri, 30 May 2025 18:58:37 -0700 Subject: [PATCH] Log which level a player is kicked from for blockspam in IRC/console, too (thanks 5parkSprained89) --- MCGalaxy/Player/SpamChecker.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MCGalaxy/Player/SpamChecker.cs b/MCGalaxy/Player/SpamChecker.cs index f33c69329..c40fd5a5f 100644 --- a/MCGalaxy/Player/SpamChecker.cs +++ b/MCGalaxy/Player/SpamChecker.cs @@ -48,8 +48,8 @@ namespace MCGalaxy { Chat.MessageFromOps(p, "λNICK &Wwas kicked from " + p.level.name + " for suspected griefing."); Logger.Log(LogType.SuspiciousActivity, - "{0} was kicked for block spam ({1} blocks in {2} seconds)", - p.name, blockLog.Count, oldestDelta); + "{0} was kicked from {1} for block spam ({2} blocks in {3} seconds)", + p.name, p.level.name, blockLog.Count, oldestDelta); p.Kick("You were kicked by antigrief system. Slow down."); return true; }