* configure the room subject required flag in the text client
authorWilfried Göesgens <willi@citadel.org>
Sun, 24 Jun 2007 21:21:29 +0000 (21:21 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 24 Jun 2007 21:21:29 +0000 (21:21 +0000)
citadel/rooms.c

index 034e3be910ec59b47f9a3574be60cab1a9ccd1cf..22672009fbfff31be8fd43006f33978a53d1165c 100644 (file)
@@ -573,6 +573,10 @@ void editthisroom(CtdlIPC *ipc)
                                QR2_COLLABDEL);
        attr->QRflags = set_room_attr(ipc, attr->QRflags,
                                        "Permanent room", QR_PERMANENT);
+       attr->QRflags2 = set_room_attr(ipc, attr->QRflags2,
+                                                                  "Subject Required (Force "
+                                                                  "users to specify a message "
+                                   "subject)", QR2_SUBJECTREQ);
        attr->QRflags = set_room_attr(ipc, attr->QRflags,
                                        "Directory room", QR_DIRECTORY);
        if (attr->QRflags & QR_DIRECTORY) {