diff --git a/commands.js b/commands.js index 5d9ef6417b..c9ea62244c 100644 --- a/commands.js +++ b/commands.js @@ -250,6 +250,7 @@ var commands = exports.commands = { roomintro: function (target, room, user) { if (!target) { if (!this.canBroadcast()) return; + if (this.broadcasting && !user.can('mute', null, room)) return; var re = /(https?:\/\/(([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?))/g; if (!room.introMessage) return this.sendReply("This room does not have an introduction set."); this.sendReplyBox(room.introMessage);