Removed spurious protocol output in RWHO command when not logged in; fixes suppenkasp...
[citadel.git] / citadel / modules / rwho / serv_rwho.c
index e509bab133d2770e149bdf48e194ee7b589051ad..0aed437ceb96b991b0a1af7e60fd5801f98a65c7 100644 (file)
@@ -87,7 +87,7 @@ void cmd_rwho(char *argbuf) {
                return;
        }
        
-       aide = CtdlAccessCheck(ac_aide);
+       aide = (CC->user.axlevel >= AxAideU) ;
        cprintf("%d%c \n", LISTING_FOLLOWS, CtdlCheckExpress() );
        
        for (i=0; i<nContexts; i++)