mirror of
https://github.com/SoDOff-Project/sodoff-mmo.git
synced 2025-10-11 08:18:49 -07:00
fix management command condition
This commit is contained in:
parent
b3724d9882
commit
ac2b8d72ff
@ -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(' ');
|
||||
|
Loading…
x
Reference in New Issue
Block a user