*fix numerous regressions that I let slip:
[citadel.git] / webcit / iconbar.c
index 41e7e73e5b6ec402e5a10a4d0f39cf972ca4256e..016a3a07d0dce2135d7947208b163e617897927b 100644 (file)
@@ -56,8 +56,8 @@ void doUserIconStylesheet(void) {
        && strncasecmp("ib_logoff", key, 9)) {
       // Don't shoot me for this
       wprintf("#%s { display: none !important; }\r\n",key);
-    } else if (!strncasecmp("ib_users",key, 8) && value != 2) {
-      wprintf("#online_users { display: none; !important } \r\n");
+    } else if (!strncasecmp("ib_users",key, 8) && value == 2) {
+      wprintf("#online_users { display: block; !important } \r\n");
     }
   }
   end_burst();