From 68475e2b30d5823a6f87e2b5ce1ed2e76f4f0b07 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 21 May 2014 20:10:14 -0700 Subject: [PATCH] Fix #364 --- lib/channel/opts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/channel/opts.js b/lib/channel/opts.js index 6fe0e8e5..7590972d 100644 --- a/lib/channel/opts.js +++ b/lib/channel/opts.js @@ -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; }