]> code.citadel.org Git - citadel.git/commitdiff
* inverting flags here too.
authorWilfried Göesgens <willi@citadel.org>
Fri, 21 Dec 2007 22:35:59 +0000 (22:35 +0000)
committerWilfried Göesgens <willi@citadel.org>
Fri, 21 Dec 2007 22:35:59 +0000 (22:35 +0000)
webcit/roomops.c
webcit/webcit.h

index a37388ac0e96b4e16daa513ce71539f5c404b45a..13de9a3dea741b02ed6659682d52522b0d6b5af5 100644 (file)
@@ -1039,7 +1039,7 @@ is_selflist(room_states *RoomFlags)
 int
 is_publiclist(room_states *RoomFlags)
 {
-       return ((RoomFlags->flags2 & QR2_SUBSONLY) != 0);
+       return ((RoomFlags->flags2 & QR2_SMTP_PUBLIC) != 0);
 }
 
 int
@@ -1739,7 +1739,7 @@ void display_editroom(void)
                        WC->http_host);
                /* Public posting? */
                wprintf("<tr><td>");
-               wprintf(_("Allow public postings to this room."));
+               wprintf(_("Allow non-subscribers to mail to this room."));
                wprintf("</td><td><input type=\"checkbox\" name=\"QR2_SubsOnly\" value=\"yes\" %s></td></tr>\n",
                        (is_publiclist(&RoomFlags))?"checked":"");
                
index 2f743b34d07b696d250f23ce9705d78ec4969a4d..9b0a4eed48834a8c7ef443a7dbdff5bc3132d9a7 100644 (file)
@@ -166,8 +166,8 @@ extern locale_t wc_locales[];
 #define QR2_SYSTEM     1               /**< System room; hide by default       */
 #define QR2_SELFLIST   2               /**< Self-service mailing list mgmt     */
 #define QR2_COLLABDEL  4               /**< Anyone who can post can also delete*/
-#define QR2_SUBJECTREQ   8   /**< Subject strongly recommended */
-#define QR2_SUBSONLY   16              /* Listservice Subscribers may post */
+#define QR2_SUBJECTREQ  8               /**< Subject strongly recommended */
+#define QR2_SMTP_PUBLIC 16              /* smtp public postable room */
 #define QR2_MODERATED  32              /* Listservice aide has to permit posts  */
 
 /**