X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=a02edc9ee200c69c5624151dc52f4e278458cc7d;hb=c675748ded5843f7bbd3819bb550f66b2534193a;hp=958fe61860b3cb69122df0101fe8741c6afcc805;hpb=f67292b60a4b1567c0c370818fa2a7f0bc308fbc;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;