Node.js based forum software built for the modern web
fixes #4857
Julian Lam828d5a4b4d11
diff --git a/src/user.js b/src/user.jsindex 19f9974cba..e4f2eb5f55 100644--- a/src/user.js+++ b/src/user.js@@ -268,7 +268,7 @@ var utils = require('../public/src/utils');} else {// If they are banned, see if the ban has expireddb.sortedSetScore('users:banned:expire', uid, function(err, score) {- var stillBanned = Date.now() < score;+ var stillBanned = !score || Date.now() < score;if (!stillBanned) {async.parallel([