]> code.citadel.org Git - citadel.git/commitdiff
* Remove the automatic population of A and N fields we recently added
authorArt Cancro <ajc@citadel.org>
Fri, 5 Mar 2004 03:36:03 +0000 (03:36 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 5 Mar 2004 03:36:03 +0000 (03:36 +0000)
  when found to be NULL.  It was confusing the output functions into
  thinking that Internet messages were local.

citadel/ChangeLog
citadel/msgbase.c

index 6b0c0f2b38a4a78439076435a31072049e03a0ba..8681da26a4881662a48eb72cf0e2ad1da0fb8f54 100644 (file)
@@ -1,4 +1,9 @@
  $Log$
+ Revision 614.63  2004/03/05 03:36:03  ajc
+ * Remove the automatic population of A and N fields we recently added
+   when found to be NULL.  It was confusing the output functions into
+   thinking that Internet messages were local.
+
  Revision 614.62  2004/03/03 05:43:29  ajc
  * Generate better output when a user is kicked out of chat
 
@@ -5446,4 +5451,3 @@ 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 b2f6f422801594d64468e61a2de85e6a237b3e50..057c55b8b9b106b483d3e107f84a447de18c24d0 100644 (file)
@@ -1922,20 +1922,6 @@ long CtdlSubmitMsg(struct CtdlMessage *msg,      /* message to save */
                msg->cm_fields['T'] = strdoop(aaa);
        }
 
-       /*
-        * If no Author, set it to ME ME ME
-        */
-       if (msg->cm_fields['A'] == NULL) {
-               msg->cm_fields['A'] = strdoop(CC->user.fullname);
-       }
-
-       /*
-        * If no Node, set it to the local node
-        */
-       if (msg->cm_fields['N'] == NULL) {
-               msg->cm_fields['N'] = strdoop(config.c_nodename);
-       }
-
        /* If this message has no path, we generate one.
         */
        if (msg->cm_fields['P'] == NULL) {