From c63c17d9d50852f2bc1843f1ce5c1f50dc456c6f Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 16 Feb 2016 17:39:10 +0000 Subject: [PATCH] things --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 039dcb5..29c4b32 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -270,7 +270,7 @@ var commands = function(dbot) { } if(!_.has(this.voteQuiets, user.id)) { - this.voteQuiets[user.id] = { 'user': user.id, 'yes': [event.rUser.primaryNick], 'no': [] }; + this.voteQuiets[user.id] = { 'user': user.id, 'channel': event.channel, 'yes': [event.rUser.primaryNick], 'no': [] }; event.reply(event.user + ' has started a vote to quiet ' + target + ' for "' + reason + '." Type either "~voteyes ' + target + '" or "~voteno ' + target + '" in the next 40 seconds.'); setTimeout(function() {