projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa17ce
)
RWHO: just aide may see system contexts and contexts waiting to be killed.
author
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 19 Jan 2012 22:12:40 +0000
(23:12 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Thu, 19 Jan 2012 22:12:40 +0000
(23:12 +0100)
citadel/modules/rwho/serv_rwho.c
patch
|
blob
|
history
diff --git
a/citadel/modules/rwho/serv_rwho.c
b/citadel/modules/rwho/serv_rwho.c
index 5c25a3943ad147d9c603717b0bb6216e16c28215..0d1631c3356d8d01e4b42915ff031147b61f48cd 100644
(file)
--- a/
citadel/modules/rwho/serv_rwho.c
+++ b/
citadel/modules/rwho/serv_rwho.c
@@
-98,6
+98,12
@@
void cmd_rwho(char *argbuf) {
room_spoofed = 0;
host_spoofed = 0;
+ if (!aide && nptr[i].state == CON_SYS)
+ continue;
+
+ if (!aide && nptr[i].kill_me != 0)
+ continue;
+
if (nptr[i].cs_flags & CS_POSTING)
strcat(flags, "*");
else