Typo with ending bracket

v1.18.x
Miguel Ángel Durán García 12 years ago
parent 85fb03c0f5
commit deff75ad06

@ -198,7 +198,7 @@ var RDB = require('./redis.js'),
} }
user.getUserField(uid, 'lastposttime', function(lastposttime) { 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); callback(new Error('too-many-posts'), null);
return; return;
} }

Loading…
Cancel
Save