diff --git a/modules/modehate.js b/modules/modehate.js index 2f2421a..f866d49 100644 --- a/modules/modehate.js +++ b/modules/modehate.js @@ -2,11 +2,16 @@ var modehate = function(dbot) { var dbot = dbot; return { - 'listener': function(data) { + 'listener': function(data, params) { console.log('caught modehate'); - if(dbot.db.modehate.include(data.user)) { - dbot.instance.send('KICK #42 ' + data.user + ' :gtfo'); - } + console.log(params[0]); + console.log(params[1]); + console.log(params[2]); + console.log(params[3]); + console.log(params[4]); + //if(dbot.db.modehate.include(data.user)) { + //dbot.instance.send('KICK #42 ' + data.user + ' :gtfo'); + //} }, 'on': 'MODE' diff --git a/modules/quotes.js b/modules/quotes.js index b4977dc..70ea9d3 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -37,7 +37,6 @@ var quotes = function(dbot) { dbot.say(data.channel, params[1] + ' (' + params[2] + '): ' + matches.random() + ' [' + matches.length + ' results]'); } } - } },