From 611632059198d60798a94c437ec179e51e4560ab Mon Sep 17 00:00:00 2001 From: spjspj Date: Sun, 6 Mar 2016 22:46:13 +1100 Subject: [PATCH] spjspj - Make mistakes in using user-chat commands less visible to the whole chat --- Mage.Server/src/main/java/mage/server/ChatManager.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mage.Server/src/main/java/mage/server/ChatManager.java b/Mage.Server/src/main/java/mage/server/ChatManager.java index 8fbc80dd99..73e31de268 100644 --- a/Mage.Server/src/main/java/mage/server/ChatManager.java +++ b/Mage.Server/src/main/java/mage/server/ChatManager.java @@ -111,7 +111,10 @@ public class ChatManager { if (chatSession != null) { if (message.startsWith("\\") || message.startsWith("/")) { User user = UserManager.getInstance().getUserByName(userName); - if (user != null && performUserCommand(user, message, chatId)) { + if (user != null) { + if (!performUserCommand(user, message, chatId)) { + performUserCommand(user, "LIST", chatId); + } return; } }