ru puns through cleannicks

This commit is contained in:
Luke Slater 2012-04-19 20:55:15 +01:00
parent 573f1fb6ea
commit 2954df3a52

View File

@ -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') &&