Skip to content

Commit

Permalink
fix: disable flagging via review to mods
Browse files Browse the repository at this point in the history
  • Loading branch information
double-beep authored Jul 6, 2024
1 parent 8e878d6 commit 6c847bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export async function addProgress(
post.progress = new Progress(target);
post.progress.attach();

if (input?.checked) {
if (input?.checked && !StackExchange.options.user.isModerator) {
const flagProgress = post.progress.addItem('Flagging as NAA...');

try {
Expand Down

0 comments on commit 6c847bf

Please sign in to comment.