Skip to content

Node.js based forum software built for the modern web

not displaying banned modal if you're not actually banned, heh

Julian Lam2da32512af3c
diff --git a/public/src/app.js b/public/src/app.js
index 1cd6e49571..54992b0e7e 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -10,7 +10,7 @@ app.cacheBuster = null;
(function () {
var showWelcomeMessage = !!utils.params().loggedin;
- var showBannedMessage = !!utils.params().banned;
+ var showBannedMessage = !!utils.params().banned && app.user && app.user.uid === 0;
templates.setGlobal('config', config);