$Log$
+ Revision 601.68 2002/11/15 11:24:40 error
+ * serv_rwho.c: cmd_rwho(): move logged_in from param 8 to param 11
+ (see RWHO in techdoc/session.txt)
+
Revision 601.67 2002/11/13 17:20:57 ajc
* When in curses mode, call beep() instead of putc(7, stdout) to make it beep.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
if (((cptr->cs_flags&CS_STEALTH)==0) || (aide))
{
- cprintf("%d|%s|%s|%s|%s|%ld|%s|%s|%d|",
+ cprintf("%d|%s|%s|%s|%s|%ld|%s|%s|",
cptr->cs_pid, un, room,
host, cptr->cs_clientname,
(long)(cptr->lastidle),
- cptr->lastcmdname, flags,
- cptr->logged_in
+ cptr->lastcmdname, flags
);
if ((user_spoofed) && (aide)) {
cprintf("|");
}
- cprintf("\n");
+ cprintf("%d\n", cptr->logged_in);
}
}
8 - Actual user name, if user name is masqueraded and viewer is an Aide.
9 - Actual room name, if room name is masqueraded and viewer is an Aide.
10 - Actual host name, if host name is masqueraded and viewer is an Aide.
+ 11 - Nonzero if the session is a logged-in user, zero otherwise.
The listing is terminated, as always, with the string "000" on a line by
itself.