fixed a missing get_all_user_calls
[spider.git] / perl / DXChannel.pm
index de9ecaa7540c5a9386853ad4610d19ebd86fbfbf..4ded62674e5a1c263fe2eda3c5569b4ee0be0b3b 100644 (file)
@@ -346,8 +346,9 @@ sub disconnect
        my $user = $self->{user};
        my $conn = $self->{conn};
        my $call = $self->{call};
+    my $nopc39 = shift || 0;
        
-       $self->finish();
+       $self->finish($nopc39);
        $conn->send_now("Z$call|bye") if $conn; # this will cause 'client' to disconnect
        $user->close() if defined $user;
        $conn->disconnect() if $conn;