projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
428c9a7
)
* WHOK: ommit empty lines.
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Sep 2010 09:22:50 +0000
(11:22 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 12 Sep 2010 09:22:50 +0000
(11:22 +0200)
citadel/room_ops.c
patch
|
blob
|
history
diff --git
a/citadel/room_ops.c
b/citadel/room_ops.c
index 053971a6043e5677a3ca3b1224540c69179dd6ca..68eeb36385971435d6f9e2accc12de4f29cd7d04 100644
(file)
--- 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");