mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Support Moderator/Admin force activating users (#5353)
This commit is contained in:
parent
37b78a9a4c
commit
7a5704beaa
5 changed files with 98 additions and 3 deletions
|
|
@ -8,6 +8,7 @@ message ModeratorCommand {
|
|||
WARN_LIST = 1004;
|
||||
VIEWLOG_HISTORY = 1005;
|
||||
GRANT_REPLAY_ACCESS = 1006;
|
||||
FORCE_ACTIVATE_USER = 1007;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
|
|
@ -79,4 +80,12 @@ message Command_GrantReplayAccess {
|
|||
}
|
||||
optional uint32 replay_id = 1;
|
||||
optional string moderator_name = 2;
|
||||
}
|
||||
|
||||
message Command_ForceActivateUser {
|
||||
extend ModeratorCommand {
|
||||
optional Command_ForceActivateUser ext = 1007;
|
||||
}
|
||||
optional string username_to_activate = 1;
|
||||
optional string moderator_name = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue