Additions to the Messages file for Spanish Language from Jesus ea1dav
[spider.git] / cmd / disconnect.pl
index 00a462a70e4955b44f252b77621dcb01956f9c50..afe9b5419fd38ffc841396f86bedbaf090c3bc03 100644 (file)
@@ -26,12 +26,12 @@ foreach $call (@calls) {
        } elsif (my $conn = Msg->conns($call)) {
                $conn->disconnect;
                push @out, $self->msg('disc3', $call);
-       } elsif (my $ref = DXCLuster->get_exact($call)) {
-               my $dxchan = $ref->dxchan;
-               if ($dxchan && $dxchan->call eq $main::mycall) {
-                       $ref->del;
-                       push @out, $self->msg('disc4', $call);
-               }
+#      } elsif (my $ref = DXCluster->get_exact($call)) {
+#              my $dxchancall = $ref->dxchancall;
+#              if ($dxchancall eq $main::mycall || !DXChannel->get($dxchancall)) {
+#                      $ref->del;
+#                      push @out, $self->msg('disc4', $call);
+#              }
        } else {
                push @out, $self->msg('e10', $call);
        }