forked from External/mage
Changes to logging an chat session handling.
This commit is contained in:
parent
fc382740ce
commit
020daf94f5
12 changed files with 72 additions and 33 deletions
|
|
@ -125,7 +125,7 @@ public class UserManager {
|
|||
public void removeUser(UUID userId, DisconnectReason reason) {
|
||||
User user = users.get(userId);
|
||||
if (user != null) {
|
||||
logger.debug(user.getName() + " " + reason.toString() + "userId: " + userId);
|
||||
logger.debug(user.getName() + " removed (" + reason.toString() + ") userId: " + userId);
|
||||
user.kill(reason);
|
||||
users.remove(userId);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue