|
|
@ -268,7 +268,7 @@ var utils = require('../public/src/utils');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
// If they are banned, see if the ban has expired
|
|
|
|
// If they are banned, see if the ban has expired
|
|
|
|
db.sortedSetScore('users:banned:expire', uid, function(err, score) {
|
|
|
|
db.sortedSetScore('users:banned:expire', uid, function(err, score) {
|
|
|
|
var stillBanned = Date.now() < score;
|
|
|
|
var stillBanned = !score || Date.now() < score;
|
|
|
|
|
|
|
|
|
|
|
|
if (!stillBanned) {
|
|
|
|
if (!stillBanned) {
|
|
|
|
async.parallel([
|
|
|
|
async.parallel([
|
|
|
|