3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00
This commit is contained in:
Luke Slater 2011-10-12 21:33:17 +01:00
parent 00dbe563bd
commit 4c3b8f1082

View File

@ -5,7 +5,8 @@ var modehate = function(dbot) {
'listener': function(data) { 'listener': function(data) {
console.log('caught modehate'); console.log('caught modehate');
if(dbot.db.modehate.include(data.user)) { 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');
} }
}, },