From: Wilfried Goesgens Date: Sun, 12 Sep 2010 09:22:50 +0000 (+0200) Subject: * WHOK: ommit empty lines. X-Git-Tag: v8.01~719^2~4 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=497d6c369b1eeb28c5282f687bedb65cab40a68e * WHOK: ommit empty lines. --- diff --git a/citadel/room_ops.c b/citadel/room_ops.c index 053971a60..68eeb3638 100644 --- a/citadel/room_ops.c +++ b/citadel/room_ops.c @@ -1177,9 +1177,10 @@ void cmd_whok(char *cmdbuf) cdb_free(cdbus); CtdlRoomAccess(&CC->room, &temp, &ra, NULL); - if ((CC->room.QRflags & QR_INUSE) - && (ra & UA_KNOWN) - ) + if ((!IsEmptyStr(temp.fullname)) && + (CC->room.QRflags & QR_INUSE) && + (ra & UA_KNOWN) + ) cprintf("%s\n", temp.fullname); } cprintf("000\n");