don't linger on AGWMsg connections.
[spider.git] / perl / ExtMsg.pm
index 8602da3d59c638d663777c549bb9c148cae6b86b..1f543fc035bdc5e9f0c98a9760076edc7708c3c5 100644 (file)
@@ -5,7 +5,7 @@
 # This is where the cluster handles direct connections coming both in
 # and out
 #
-# $Id$
+#
 #
 # Copyright (c) 2001 - Dirk Koopman G1TLH
 #
@@ -151,7 +151,7 @@ sub to_connected
        delete $conn->{cmd};
        $conn->{timeout}->del if $conn->{timeout};
        delete $conn->{timeout};
-       $conn->nolinger;
+       $conn->nolinger unless $conn->isa('AGWMsg');
        &{$conn->{rproc}}($conn, "$dir$call|$sort");
        $conn->_send_file("$main::data/connected") unless $conn->{outgoing};
 }