diff --git a/chat-plugins/trivia.js b/chat-plugins/trivia.js index a8212ba992..ca48e91ba4 100644 --- a/chat-plugins/trivia.js +++ b/chat-plugins/trivia.js @@ -411,7 +411,7 @@ var commands = { // question database modifying commands submit: 'add', add: function (target, room, user, connection, cmd) { - if (room.id !== 'questionworkshop' || (cmd === 'triviaadd' && !this.can('mute', null, room)) || !target) return false; + if (room.id !== 'questionworkshop' || (cmd === 'add' && !this.can('mute', null, room)) || !target) return false; target = target.split('|'); if (target.length !== 3) return this.sendReply('Invalid arguments specified. View /trivia help qcommands for more information.');