From ac2b8d72ff1418b9cad9731be646748cfbc42ce3 Mon Sep 17 00:00:00 2001 From: Spirtix Date: Sun, 7 Apr 2024 17:12:09 +0200 Subject: [PATCH] fix management command condition --- src/Management/ManagementCommandProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Management/ManagementCommandProcessor.cs b/src/Management/ManagementCommandProcessor.cs index 0eb0314..7dec864 100644 --- a/src/Management/ManagementCommandProcessor.cs +++ b/src/Management/ManagementCommandProcessor.cs @@ -30,7 +30,7 @@ public class ManagementCommandProcessor { public static bool ProcessCommand(string message, Client client) { if (!Configuration.ServerConfiguration.Authentication || !initialized) return false; - if (!message.StartsWith("::") && message.Length < 3) + if (!message.StartsWith("::") || message.Length < 3) return false; string[] parts = message.Split(' ');