mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 06:43:54 -07:00
Merge pull request #5350 from Cockatrice/fix_1953
Allow Moderators/Admins to Grant Replay Access
This commit is contained in:
commit
8bc5a9d581
7 changed files with 129 additions and 5 deletions
|
|
@ -7,6 +7,7 @@ message ModeratorCommand {
|
|||
WARN_HISTORY = 1003;
|
||||
WARN_LIST = 1004;
|
||||
VIEWLOG_HISTORY = 1005;
|
||||
GRANT_REPLAY_ACCESS = 1006;
|
||||
}
|
||||
extensions 100 to max;
|
||||
}
|
||||
|
|
@ -71,3 +72,11 @@ message Command_ViewLogHistory {
|
|||
required uint32 date_range = 7; // the length of time (in minutes) to look back for
|
||||
optional uint32 maximum_results = 8; // the maximum number of query results
|
||||
}
|
||||
|
||||
message Command_GrantReplayAccess {
|
||||
extend ModeratorCommand {
|
||||
optional Command_GrantReplayAccess ext = 1006;
|
||||
}
|
||||
optional uint32 replay_id = 1;
|
||||
optional string moderator_name = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue