From e40a8437a32e98a314a57637da02f60fe5c700c8 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 14 Apr 2013 15:00:15 +0000 Subject: [PATCH] bind the kick listener correctly to this --- modules/kick/kick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/kick.js b/modules/kick/kick.js index f00720d..5308615 100644 --- a/modules/kick/kick.js +++ b/modules/kick/kick.js @@ -38,7 +38,7 @@ var kick = function(dbot) { }) + ')'); } } - }; + }.bind(this); this.on = 'KICK'; };