X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;h=3637b7626885a6ec63e20720c8b3008ba03ba270;hb=502f900651a46b96008028945616a3b610d6cc7a;hp=93d07c1d3a69561ed50e84a40d2f2824a6118645;hpb=1f3035508fe4dacf899742db444ade501091e7de;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index 93d07c1d..3637b762 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -376,10 +376,8 @@ sub disconnect my $user = $self->{user}; my $conn = $self->{conn}; my $call = $self->{call}; - my $nopc39 = shift || 0; - $self->finish($nopc39); - $conn->send_now("Z$call|bye") if $conn; # this will cause 'client' to disconnect + $self->finish($conn); $user->close() if defined $user; $conn->disconnect() if $conn; $self->del();