From 558f6b33452ef6b2a5ad32a38f232ab27d7a7dfb Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 16 Oct 2011 19:59:17 +0100 Subject: [PATCH] debug --- modules/modehate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modehate.js b/modules/modehate.js index 004c305..50b67ad 100644 --- a/modules/modehate.js +++ b/modules/modehate.js @@ -3,7 +3,7 @@ var modehate = function(dbot) { return { 'listener': function(data, params) { - console.log(data.raw); + console.log(data.raw[0]); if(dbot.db.modehate.include(data.user) && data.raw[0].indexOf('-o') != -1) { dbot.instance.send('KICK #42 ' + data.user + ' :gtfo'); }