X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Frwho%2Fserv_rwho.c;h=09e256f8657466f32ada03c65e875b785975cd55;hb=52a94413dd96f0abc1642535ac3a67427062d1b0;hp=0aed437ceb96b991b0a1af7e60fd5801f98a65c7;hpb=d6a940a439def49bfcee67c52bd5b327f4ea8ac7;p=citadel.git diff --git a/citadel/modules/rwho/serv_rwho.c b/citadel/modules/rwho/serv_rwho.c index 0aed437ce..09e256f86 100644 --- a/citadel/modules/rwho/serv_rwho.c +++ b/citadel/modules/rwho/serv_rwho.c @@ -4,19 +4,14 @@ * * Copyright (c) 1987-2012 by the citadel.org team * - * This program is open source software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 3. - * - * + * This program is open source software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * - * - * */ #include "sysdep.h" @@ -76,8 +71,6 @@ void cmd_rwho(char *argbuf) { /* So that we don't keep the context list locked for a long time * we create a copy of it first */ - - nptr = CtdlGetContextArray(&nContexts) ; if (!nptr) { @@ -87,7 +80,7 @@ void cmd_rwho(char *argbuf) { return; } - aide = (CC->user.axlevel >= AxAideU) ; + aide = ( (CC->user.axlevel >= AxAideU) || (CC->internal_pgm) ) ; cprintf("%d%c \n", LISTING_FOLLOWS, CtdlCheckExpress() ); for (i=0; i