mirror of https://github.com/calzoneman/sync.git
fix allow_voteskip
This commit is contained in:
parent
57fe5eea4d
commit
c0431eb3e7
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
Copyright (c) 2013 Calvin Montgomery
|
Copyright (c) 2013 Calvin Montgomery
|
||||||
|
@ -2170,7 +2169,7 @@ Channel.prototype.tryUpdateOptions = function(user, data) {
|
||||||
|
|
||||||
if ("allow_voteskip" in data) {
|
if ("allow_voteskip" in data) {
|
||||||
var vs = Boolean(data.allow_voteskip);
|
var vs = Boolean(data.allow_voteskip);
|
||||||
this.opts.voteskip = vs;
|
this.opts.allow_voteskip = vs;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("voteskip_ratio" in data) {
|
if ("voteskip_ratio" in data) {
|
||||||
|
|
Loading…
Reference in New Issue