diff --git a/modules/command.js b/modules/command.js index 55b3168..a66b12e 100644 --- a/modules/command.js +++ b/modules/command.js @@ -100,7 +100,9 @@ var command = function(dbot) { } else { q[1] = q[1].trim(); key = dbot.cleanNick(q[1]) - if(dbot.db.quoteArrs.hasOwnProperty(key) && dbot.moduleNames.include('quotes')) { + if(dbot.db.quoteArrs.hasOwnProperty(key) && dbot.moduleNames.include('quotes') && + (dbot.db.ignores.hasOwnProperty(data.user) && + dbot.db.ignores[data.user].include(name)) == false) { var params = ['~q']; key.split(' ').each((function(word) { this.push(word);