3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-11 20:42:37 +01:00

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 { return {
'listener': function(data) { 'listener': function(data) {
data.user = dbot.cleanNick(data.user);
if((dbot.db.ignores.hasOwnProperty(data.user) && if((dbot.db.ignores.hasOwnProperty(data.user) &&
dbot.db.ignores[data.user].include(name)) == false) { dbot.db.ignores[data.user].include(name)) == false) {
if(dbot.moduleNames.include('quotes') && if(dbot.moduleNames.include('quotes') &&