This commit is contained in:
Calvin Montgomery 2014-05-21 20:10:14 -07:00
parent 2ce2467f4d
commit 68475e2b30
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}