mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-16 04:22:06 +00:00
fix allow_voteskip
This commit is contained in:
parent
57fe5eea4d
commit
c0431eb3e7
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue