X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdisconnect.pl;fp=cmd%2Fdisconnect.pl;h=9e6b67dff927a521d5cb7db530927cf6aec8ef4d;hb=586cbb347e7639f5575b48572e75140501a109c0;hp=9207d73b930c5833725821538524e1ac51c242c2;hpb=e674587476599456cce169e02b0e441d985f9dd8;p=spider.git diff --git a/cmd/disconnect.pl b/cmd/disconnect.pl index 9207d73b..9e6b67df 100644 --- a/cmd/disconnect.pl +++ b/cmd/disconnect.pl @@ -23,7 +23,7 @@ foreach $call (@calls) { } $dxchan->disconnect; push @out, $self->msg('disc2', $call); - } elsif (my $conn = Msg->call($call)) { + } elsif (my $conn = Msg->conns($call)) { $conn->disconnect; } else { push @out, $self->msg('e10', $call);