From d0b3b5252c17c81ca8eda33d42a5da09677e1b7a Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sun, 4 Dec 2011 17:03:33 +0000 Subject: [PATCH] modehate --- modules/modehate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/modehate.js b/modules/modehate.js index add56d9..46f3d9f 100644 --- a/modules/modehate.js +++ b/modules/modehate.js @@ -6,6 +6,7 @@ var modehate = function(dbot) { console.log('THIS: ' + data.raw[0]); if(data.raw[0].indexOf('-oooo') != -1) { console.log('test'); + console.log('KICK ' + data.channel + ' ' + data.user + ' :gtfo - mass deop protection'); dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :gtfo - mass deop protection'); } else if(dbot.db.modehate.include(data.user) && data.raw[0].indexOf('-o') != -1) { dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :gtfo');