X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fuser_ops.c;h=8548f823420e665d488a5194757d6f25d264970d;hp=32af98e9105ec3cc5a1c230aac8631fd70f73891;hb=a7d7e3f128e15f282f2a96aba513823aa9603c22;hpb=6fa6542eb4a8f390488f2a453baec1bf8de1a1fb diff --git a/citadel/user_ops.c b/citadel/user_ops.c index 32af98e91..8548f8234 100644 --- a/citadel/user_ops.c +++ b/citadel/user_ops.c @@ -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; }