From 4427cdefb2d47ada9d75a66287adabbb02e2fd55 Mon Sep 17 00:00:00 2001 From: iforgetwhyimhere Date: Thu, 21 May 2026 17:59:54 -0400 Subject: [PATCH] Actually allow that, if they can bypassall --- server/chat-commands/moderation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/chat-commands/moderation.ts b/server/chat-commands/moderation.ts index ef78cff2fd..3bd5899545 100644 --- a/server/chat-commands/moderation.ts +++ b/server/chat-commands/moderation.ts @@ -216,8 +216,8 @@ export const commands: Chat.ChatCommands = { const userid = toID(toPromote); if (!userid) return this.parse('/help roompromote'); - if (silent && nextSymbol === '#') { - this.errorReply('You cannot silently appoint Room Owners.'); + if (silent && nextSymbol === '#' && !this.checkCan('bypassall')) { + this.errorReply('Access denied for silently promoting Room Owners.'); continue; }