fix problem with outgoing connects also sending connect string
authorminima <minima>
Sat, 9 Jun 2001 14:32:46 +0000 (14:32 +0000)
committerminima <minima>
Sat, 9 Jun 2001 14:32:46 +0000 (14:32 +0000)
Changes
perl/ExtMsg.pm

diff --git a/Changes b/Changes
index 40e48b3198f30dc3b54e8ab486ab6604bd4b89ad..994e188d4bbd6e87853a16f0df17ed3dfdc3ff54 100644 (file)
--- a/Changes
+++ b/Changes
@@ -3,6 +3,8 @@
 2. add set/debug filter so that you can see why your filters aren't working
 (for sysops only)
 3. add ephemera deduping for all those PC41,24,50 etc etc broadcasts 
+4. Fix a problem with the connect text being sent on outgoing connections
+(this confuses db0fhf amongst other things)
 08Jun01=======================================================================
 1. first cut with new routing code. Created NEW_ROUTE branch
 2. added acc/route and rej/route commands
index 4efb3484c0621d58c90631ab247ff6c67d87304a..be7d0e84c0ada79e8b349e83c445e59b01b4165c 100644 (file)
@@ -118,7 +118,7 @@ sub to_connected
        $conn->{timeout}->del if $conn->{timeout};
        delete $conn->{timeout};
        &{$conn->{rproc}}($conn, "$dir$call|$sort");
-       $conn->_send_file("$main::data/connected");
+       $conn->_send_file("$main::data/connected") unless $conn->{outgoing};
 }
 
 sub new_client {
@@ -169,6 +169,7 @@ sub start_connect
        my $call = shift;
        my $fn = shift;
        my $conn = ExtMsg->new(\&main::new_channel); 
+       $conn->{outgoing} = 1;
        $conn->conns($call);
        
        my $f = new IO::File $fn;