mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
spjspj - Make mistakes in using user-chat commands less visible to the whole chat
This commit is contained in:
parent
619856c8f5
commit
6116320591
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue