X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=a02edc9ee200c69c5624151dc52f4e278458cc7d;hb=dfb716ea6436908b5c7e3905f4cf14314c09b9cc;hp=958fe61860b3cb69122df0101fe8741c6afcc805;hpb=a48eea32af123b571889f70a3e7cef8e157cf389;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index 958fe618..a02edc9e 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -699,17 +699,14 @@ sub broadcast_list sub process { foreach my $dxchan (get_all()) { - + next if $dxchan->{disconnecting}; + while (my $data = shift @{$dxchan->{inqueue}}) { my ($sort, $call, $line) = $dxchan->decode_input($data); next unless defined $sort; # do the really sexy console interface bit! (Who is going to do the TK interface then?) dbg("<- $sort $call $line") if $sort ne 'D' && isdbg('chan'); - if ($dxchan->{disconnecting}) { - dbg('In disconnection, ignored'); - next; - } # handle A records my $user = $dxchan->user;