From c0431eb3e7ae5cd06cc20a1f37ce497281b1d44d Mon Sep 17 00:00:00 2001 From: nuclearace Date: Tue, 17 Dec 2013 22:35:28 -0500 Subject: [PATCH] fix allow_voteskip --- lib/channel.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/channel.js b/lib/channel.js index d1fada54..6cb073be 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -1,4 +1,3 @@ - /* The MIT License (MIT) Copyright (c) 2013 Calvin Montgomery @@ -2170,7 +2169,7 @@ Channel.prototype.tryUpdateOptions = function(user, data) { if ("allow_voteskip" in data) { var vs = Boolean(data.allow_voteskip); - this.opts.voteskip = vs; + this.opts.allow_voteskip = vs; } if ("voteskip_ratio" in data) {