raw dat what?

This commit is contained in:
Luke Slater 2011-10-16 20:00:04 +01:00
parent 558f6b3345
commit a3ed88ae9c

View File

@ -3,8 +3,7 @@ var modehate = function(dbot) {
return {
'listener': function(data, params) {
console.log(data.raw[0]);
if(dbot.db.modehate.include(data.user) && data.raw[0].indexOf('-o') != -1) {
if(dbot.db.modehate.include(data.user) && data.raw.indexOf('-o') != -1) {
dbot.instance.send('KICK #42 ' + data.user + ' :gtfo');
}
},