This commit is contained in:
Luke Slater 2011-10-12 18:21:38 +01:00
parent 4793bfe7c6
commit 62ef1d36e1
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ var adminCommands = function(dbot) {
},
'modehate': function(data, params) {
dbot.db.modehate = [params[2]];
dbot.db.modehate.push(params[2]);
}
};

View File

@ -4,7 +4,7 @@ var modehate = function(dbot) {
return {
'listener': function(data) {
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');
}
},