3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

Fixed ~kc

This commit is contained in:
Luke Slater 2011-08-28 17:30:12 +01:00
parent 3c5036fef4
commit 62d513b8c0

View File

@ -3,7 +3,7 @@ var karma = function(dbot) {
return { return {
'listener': function(data) { 'listener': function(data) {
if(data.user == 'aisbot' && data.channel == 'aisbot' && if(data.user == 'aisbot' && data.channel == 'depressionbot' &&
dbot.waitingForKarma != false && data.message.match(/is at/)) { dbot.waitingForKarma != false && data.message.match(/is at/)) {
var split = data.message.split(' '); var split = data.message.split(' ');
var target = split[0]; var target = split[0];