From 90363ed707dd03da2315f024df0747b2a12f1e97 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 19 Oct 2011 22:31:34 +0100 Subject: [PATCH] karma fix --- modules/karma.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/karma.js b/modules/karma.js index 165c2cd..7218e74 100644 --- a/modules/karma.js +++ b/modules/karma.js @@ -3,7 +3,7 @@ var karma = function(dbot) { return { 'listener': function(data) { - if(data.user == 'aisbot' && data.channel == 'depressionbot' && + if(data.user == 'aisbot' && data.channel == 'aisbot' && dbot.waitingForKarma != false && data.message.match(/is at/)) { var split = data.message.split(' '); var target = split[0];