Fri Oct 9 13:22:37 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* Implemented "lazy mode" traversal - pressing the space bar will do
<N>ext messsage, <G>oto next room, or read <N>ew as appropriate.
+ * room_ops.c: modify CtdlRoomAccess() to allow access to mailbox rooms
+ only to their owners.
Thu Oct 8 17:13:27 EDT 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
* messages.c, citadel.rc: added the ability to display message numbers
return(UA_INUSE | UA_KNOWN | UA_GOTOALLOWED);
}
+ /* For mailbox rooms, only allow access to the owner */
+ if (roombuf->QRflags & QR_MAILBOX) {
+ if (userbuf->usernum != atol(roombuf->QRname)) {
+ return(retval);
+ }
+ }
+
/* Locate any applicable user/room relationships */
CtdlGetRelationship(&vbuf, userbuf, roombuf);