From 2954df3a52e656bf532721f43dcf2a09a1b3b2a6 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Thu, 19 Apr 2012 20:55:15 +0100 Subject: [PATCH] ru puns through cleannicks --- modules/puns.js | 2 ++ 1 file changed, 2 insertions(+) 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') &&