Typo with ending bracket

This commit is contained in:
Miguel Ángel Durán García
2013-08-13 19:37:01 +02:00
parent 85fb03c0f5
commit deff75ad06

View File

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