mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Actually allow that, if they can bypassall
This commit is contained in:
parent
941efc830f
commit
4427cdefb2
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user