From ca2ba3e6a15a53bdc210fd6acf8967bbd232b639 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Tue, 25 Mar 2008 12:58:49 +0000 Subject: [PATCH] Now recoginzes moderators as well as admins and users --- templates/basicset/page.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/basicset/page.js b/templates/basicset/page.js index 9eca966..8796e12 100644 --- a/templates/basicset/page.js +++ b/templates/basicset/page.js @@ -91,14 +91,14 @@ function getUserRights(user) { if(perms!=null) { if(perms[1]=="banned") return "banned"; if(perms[1]=="admins") return "admin"; - status=="moderator"; + status="moderator"; + } xhr.open("GET", path+".forum",false); xhr.send(""); if(xhr.status==403 || xhr.status==200) break; } - return status; } -- 2.39.5