/* read in the quickroom record, obtaining a lock... */
lgetroom(&CC->quickroom, actual_rm);
+ /* Fix an obscure bug */
+ if (!strcasecmp(CC->quickroom.QRname, AIDEROOM)) {
+ CC->quickroom.QRflags = CC->quickroom.QRflags & ~QR_MAILBOX;
+ }
+
/* Add the message pointer to the room */
AddMessageToRoom(&CC->quickroom, newmsgid);
}
}
+ /* Locate any applicable user/room relationships */
+ CtdlGetRelationship(&vbuf, userbuf, roombuf);
+
/* Force the properties of the Aide room */
/* FIX FIX FIX ... this doesn't work */
if (!strcasecmp(roombuf->QRname, AIDEROOM)) {
+ lprintf(9, "Room <%s> is special!\n", roombuf->QRname);
if (userbuf->axlevel >= 6) {
retval = UA_KNOWN | UA_GOTOALLOWED;
}
goto NEWMSG;
}
- /* Locate any applicable user/room relationships */
- CtdlGetRelationship(&vbuf, userbuf, roombuf);
-
/* For mailboxes, we skip all the access stuff (and we've
* already checked by this point that the mailbox belongs
* to the user)