mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
Typo with ending bracket
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user