mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fixes #4857
This commit is contained in:
@@ -268,7 +268,7 @@ var utils = require('../public/src/utils');
|
||||
} else {
|
||||
// If they are banned, see if the ban has expired
|
||||
db.sortedSetScore('users:banned:expire', uid, function(err, score) {
|
||||
var stillBanned = Date.now() < score;
|
||||
var stillBanned = !score || Date.now() < score;
|
||||
|
||||
if (!stillBanned) {
|
||||
async.parallel([
|
||||
|
||||
Reference in New Issue
Block a user