fix allow_voteskip

This commit is contained in:
nuclearace 2013-12-17 22:35:28 -05:00
parent 57fe5eea4d
commit c0431eb3e7
1 changed files with 1 additions and 2 deletions

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