mirror of https://github.com/calzoneman/sync.git
Fix #364
This commit is contained in:
parent
2ce2467f4d
commit
68475e2b30
|
@ -152,7 +152,7 @@ OptionsModule.prototype.handleSetOptions = function (user, data) {
|
|||
b = 1;
|
||||
}
|
||||
|
||||
var s = parseInt(data.chat_antiflood_params.sustained);
|
||||
var s = parseFloat(data.chat_antiflood_params.sustained);
|
||||
if (isNaN(s) || s <= 0) {
|
||||
s = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue