forked from External/mage
Added chat mute and user (de)activation actions to the Mage server console.
This commit is contained in:
parent
f51d4f4e0f
commit
fae1cb8cce
3 changed files with 27 additions and 5 deletions
|
|
@ -778,6 +778,8 @@ public class User {
|
|||
if (authorizedUser != null) {
|
||||
authorizedUser.lastConnection = this.connectionTime;
|
||||
authorizedUser.chatLockedUntil = this.chatLockedUntil;
|
||||
authorizedUser.lockedUntil = this.lockedUntil;
|
||||
authorizedUser.active = this.active;
|
||||
AuthorizedUserRepository.instance.update(authorizedUser);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue