diff --git a/modules/puns.js b/modules/puns.js index e0b7176..ebe5b5d 100644 --- a/modules/puns.js +++ b/modules/puns.js @@ -4,6 +4,8 @@ var puns = function(dbot) { return { 'listener': function(data) { + data.user = dbot.cleanNick(data.user); + if((dbot.db.ignores.hasOwnProperty(data.user) && dbot.db.ignores[data.user].include(name)) == false) { if(dbot.moduleNames.include('quotes') &&