fix MAJOR bug in the disconnect code introduced by the NP work
[spider.git] / cmd / disconnect.pl
index afe9b5419fd38ffc841396f86bedbaf090c3bc03..a023c609ee72388bcee49bed1adbaa79ab141524 100644 (file)
@@ -16,7 +16,7 @@ foreach $call (@calls) {
        my $dxchan = DXChannel->get($call);
        if ($dxchan) {
                if ($dxchan->is_node) {
-#                      $dxchan->send_now("D", DXProt::pc39($main::mycall, $self->msg('disc1', $self->call)));
+#                      $dxchan->send_pc39($self->msg('disc1', $self->call));
                } else {
                        return (1, $self->msg('e5')) if $self->priv < 8;
                        $dxchan->send_now('D', $self->msg('disc1', $self->call));