From deff75ad061994d363221e2f7c5ceb462d85ca6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20A=CC=81ngel=20Dura=CC=81n=20Garci=CC=81a?= Date: Tue, 13 Aug 2013 19:37:01 +0200 Subject: [PATCH] Typo with ending bracket --- src/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posts.js b/src/posts.js index d21b2aea8e..756a59797d 100644 --- a/src/posts.js +++ b/src/posts.js @@ -198,7 +198,7 @@ var RDB = require('./redis.js'), } user.getUserField(uid, 'lastposttime', function(lastposttime) { - if(Date.now() - lastposttime < config.postDelay)) { + if(Date.now() - lastposttime < config.postDelay) { callback(new Error('too-many-posts'), null); return; }