* oops, an oversight ... CtdlRoomAccess() needs to convey UA_DELETEALLOWED for intern...
authorArt Cancro <ajc@citadel.org>
Thu, 20 Aug 2009 16:50:50 +0000 (16:50 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 20 Aug 2009 16:50:50 +0000 (16:50 +0000)
citadel/room_ops.c

index 0e4eed746b01aa07ec60cb8458502749486adbd5..07ad2f5e061ab7e051f1f5388b82b933a06a3925 100644 (file)
@@ -57,7 +57,7 @@ void CtdlRoomAccess(struct ctdlroom *roombuf, struct ctdluser *userbuf,
 
        /* for internal programs, always do everything */
        if (((CC->internal_pgm)) && (roombuf->QRflags & QR_INUSE)) {
-               retval = (UA_KNOWN | UA_GOTOALLOWED | UA_POSTALLOWED);
+               retval = (UA_KNOWN | UA_GOTOALLOWED | UA_POSTALLOWED | UA_DELETEALLOWED);
                vbuf.v_view = 0;
                goto SKIP_EVERYTHING;
        }