fix: add CheckOwnGroup in Random.GroupMember
This commit is contained in:
parent
2aead40449
commit
a507883dda
@ -55,6 +55,8 @@ public class Random
|
||||
|
||||
public async Task GroupMember(Context ctx, PKGroup group)
|
||||
{
|
||||
ctx.CheckOwnGroup(group);
|
||||
|
||||
var opts = ctx.ParseMemberListOptions(ctx.DirectLookupContextFor(group.System));
|
||||
opts.GroupFilter = group.Id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user