diff --git a/src/channel/opts.js b/src/channel/opts.js index eef38dd2..46da8a83 100644 --- a/src/channel/opts.js +++ b/src/channel/opts.js @@ -116,7 +116,7 @@ OptionsModule.prototype.handleSetOptions = function (user, data) { if (isNaN(ratio) || ratio < 0) { user.socket.emit("validationError", { target: "#cs-voteskip_ratio", - message: "Input must be a number 0 or greater. 1.0 is 100%." + message: `Input must be a number 0 or greater, not "${data.voteskip_ratio}"` }); } else { this.opts.voteskip_ratio = ratio;