X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=d108a560c3187871f370b6615afad51bab761ce4;hb=61148e50735498a356ffd95b5a79faf1dc6b9d82;hp=b7ac117773e9f398f8a777e6d21abd56cd0d4e7e;hpb=b735ad9a0325fae9ca0c2324794b99288a737802;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index b7ac1177..d108a560 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -293,7 +293,7 @@ sub process_inqueue while (@inqueue) { my $self = shift @inqueue; return if !$self; - + my $data = $self->{data}; my $dxchan = $self->{dxchan}; my $error; @@ -302,13 +302,18 @@ sub process_inqueue # do the really sexy console interface bit! (Who is going to do the TK interface then?) dbg("<- $sort $call $line\n") if $sort ne 'D' && isdbg('chan'); - + if ($self->{disconnecting}) { + dbg('In disconnection, ignored'); + next; + } + # handle A records my $user = $dxchan->user; if ($sort eq 'A' || $sort eq 'O') { $dxchan->start($line, $sort); } elsif ($sort eq 'I') { die "\$user not defined for $call" if !defined $user; + # normal input $dxchan->normal($line); } elsif ($sort eq 'Z') { @@ -362,7 +367,7 @@ $build = "$build.$branch" if $branch; Log('cluster', "DXSpider V$version, build $build started"); # banner -dbg("Copyright (c) 1998-2001 Dirk Koopman G1TLH"); +dbg("Copyright (c) 1998-2002 Dirk Koopman G1TLH"); dbg("DXSpider Version $version, build $build started"); # load Prefixes