]> code.citadel.org Git - citadel.git/commitdiff
* Force recipient only in Mail>, not in all mailbox rooms
authorArt Cancro <ajc@citadel.org>
Thu, 7 Mar 2002 04:30:38 +0000 (04:30 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 7 Mar 2002 04:30:38 +0000 (04:30 +0000)
citadel/ChangeLog
citadel/msgbase.c

index 0abb6010ccadd18678f20879eb5c707526a1c9d0..67142b1dd35fb0de872fb0c70523f51bb9bddad4 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 590.128  2002/03/07 04:30:37  ajc
+ * Force recipient only in Mail>, not in all mailbox rooms
+
  Revision 590.127  2002/03/05 22:45:40  error
  * Autoconf fixes for DB4 support
 
@@ -3393,3 +3396,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index 5c2290b274908b463b74a82b774f2ba1431f4ffb..6cbec8fc4dcf0e02f3191dd1575efbcba21b7c9f 100644 (file)
@@ -2422,7 +2422,13 @@ void cmd_ent0(char *entargs)
        }
        CC->cs_flags |= CS_POSTING;
 
-       if (CC->quickroom.QRflags & QR_MAILBOX) {
+       /* In the Mail> room we have to behave a little differently --
+        * make sure the user has specified at least one recipient.  Then
+        * validate the recipient(s).
+        */
+       if ( (CC->quickroom.QRflags & QR_MAILBOX)
+          && (!strcasecmp(&CC->quickroom.QRname[11], MAILROOM)) ) {
+
                if (CC->usersupp.axlevel < 2) {
                        strcpy(recp, "sysop");
                }