more removal of ignet cruft
[citadel.git] / citadel / modules / network / serv_netmail.c
index bd761048a1faabc6ce908c4a8cef4845e29d7081..6ee61cfd57317c3aec1d45864541af63d07d2289 100644 (file)
@@ -1,6 +1,5 @@
 /*
- * This module handles shared rooms, inter-Citadel mail, and outbound
- * mailing list processing.
+ * This module handles network mail and mailing list processing.
  *
  * Copyright (c) 2000-2018 by the citadel.org team
  *
@@ -382,7 +381,6 @@ void network_process_participate(SpoolControl *sc, struct CtdlMessage *omsg, lon
 {
        struct CtdlMessage *msg = NULL;
        int ok_to_participate = 0;
-       StrBuf *Buf = NULL;
        recptypes *valid;
 
        /*
@@ -404,16 +402,6 @@ void network_process_participate(SpoolControl *sc, struct CtdlMessage *omsg, lon
                {
                        ok_to_participate = 1;
                }
-               
-               Buf = NewStrBufPlain(CM_KEY(msg, eNodeName));
-               if (CtdlIsValidNode(NULL,
-                                   NULL,
-                                   Buf,
-                                   sc->working_ignetcfg,
-                                   sc->the_netmap) == 0)
-               {
-                       ok_to_participate = 1;
-               }
        }
        if (ok_to_participate)
        {
@@ -430,7 +418,6 @@ void network_process_participate(SpoolControl *sc, struct CtdlMessage *omsg, lon
                CtdlSubmitMsg(msg, valid, "", 0);
                free_recipients(valid);
        }
-       FreeStrBuf(&Buf);
        CM_Free(msg);
 }