Merge pull request #320 from nuclearace/patch-2

fix allow_voteskip
This commit is contained in:
Calvin Montgomery 2013-12-17 19:37:16 -08:00
commit 31368cfe7f

View file

@ -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) {