Skip to content

Commit

Permalink
admins are always powerful
Browse files Browse the repository at this point in the history
  • Loading branch information
boomzero committed Sep 7, 2024
1 parent 97bc5c3 commit a1f0842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class Process {
}
}
MentionPeople = Array.from(new Set(MentionPeople));
if (MentionPeople.length > 3) {
if (MentionPeople.length > 3 && !this.IsAdmin()) {
return new Result(false, "一次最多@3个人");
}
const ReplyID = ThrowErrorIfFailed(await this.XMOJDatabase.Insert("bbs_reply", {
Expand Down

0 comments on commit a1f0842

Please sign in to comment.