From a809b16a24709c0d6895bc4f9164d71fa8a695da Mon Sep 17 00:00:00 2001 From: Quinton Lee Date: Mon, 23 Nov 2015 19:26:50 -0600 Subject: [PATCH] The Studio plugin: update /aotd quote permission --- chat-plugins/thestudio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat-plugins/thestudio.js b/chat-plugins/thestudio.js index 62db75cb17..da95adbe80 100644 --- a/chat-plugins/thestudio.js +++ b/chat-plugins/thestudio.js @@ -244,7 +244,7 @@ let commands = { "\"" + room.chatRoomData.artistQuoteOfTheDay + "\"" ); } - if (!this.can('declare', null, room)) return false; + if (!this.can('ban', null, room)) return false; if (target === 'off' || target === 'disable' || target === 'reset') { if (!room.chatRoomData.artistQuoteOfTheDay) return this.sendReply("The Artist Quote of the Day has already been reset."); delete room.chatRoomData.artistQuoteOfTheDay;