diff --git a/common/throttle.js b/common/throttle.js index efd0e8e..4154f8a 100644 --- a/common/throttle.js +++ b/common/throttle.js @@ -11,7 +11,7 @@ function isThrottled(email) { return false; } - if ( (emails[email] - new Date()) / 1000 > 3) { //3 seconds + if ( Math.abs(emails[email] - new Date()) / 1000 > 3) { //3 seconds return false; }