diff --git a/modules/puns.js b/modules/puns.js index a7cc3aa..e0b7176 100644 --- a/modules/puns.js +++ b/modules/puns.js @@ -7,7 +7,7 @@ var puns = function(dbot) { if((dbot.db.ignores.hasOwnProperty(data.user) && dbot.db.ignores[data.user].include(name)) == false) { if(dbot.moduleNames.include('quotes') && - dbot.db.quotes.hasOwnProperty(data.user)) { + dbot.db.quoteArrs.hasOwnProperty(data.user)) { data.message = '~q ' + data.user.toLowerCase(); var params = data.message.split(' '); dbot.commands[params[0]](data, params);