Removed ical_dezonify() from the citserver build ... it isn't used anymore
[citadel.git] / citadel / user_ops.c
index 32af98e9105ec3cc5a1c230aac8631fd70f73891..8548f823420e665d488a5194757d6f25d264970d 100644 (file)
@@ -632,7 +632,7 @@ void do_login(void)
        /* If this user's name is the name of the system administrator
         * (as specified in setup), automatically assign access level 6.
         */
-       if (!strcasecmp(CCC->user.fullname, CtdlGetConfigStr("c_sysadm"))) {
+       if ( (!IsEmptyStr(CtdlGetConfigStr("c_sysadm"))) && (!strcasecmp(CCC->user.fullname, CtdlGetConfigStr("c_sysadm"))) ) {
                CCC->user.axlevel = AxAideU;
        }