From 4c3b8f108246e6b5901a7c2672c70fd236f9f89d Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 12 Oct 2011 21:33:17 +0100 Subject: [PATCH] test --- modules/modehate.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/modehate.js b/modules/modehate.js index 12e7261..8f8ad9a 100644 --- a/modules/modehate.js +++ b/modules/modehate.js @@ -5,7 +5,8 @@ var modehate = function(dbot) { 'listener': function(data) { console.log('caught modehate'); if(dbot.db.modehate.include(data.user)) { - dbot.instance.send('KICK', data.channel, data.user, 'gtfo'); + dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :gtfo'); + dbot.say(data.channel,'KICK ' + data.channel + ' ' + data.user + ' :gtfo'); } },