X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2Fcluster.pl;h=c3f264bc7d76b456491b21288fddce812693cce8;hp=f1b467321219f222df82efaaffd7dabb8722165c;hb=6ff342e3d9353dcb3094f600157a41abf678b212;hpb=fa57f72c26032aae4c1a20358e829ba9afbf460c diff --git a/perl/cluster.pl b/perl/cluster.pl index f1b46732..c3f264bc 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -85,8 +85,11 @@ sub rec return; } - # is there one already connected elsewhere in the cluster? - if (($call eq $main::myalias && DXCluster->get_exact($call)) || + # is there one already connected elsewhere in the cluster (and not a cluster) + my $user = DXUser->get($call); + if ($user && $user->sort eq 'A' && !DXCluster->get_exact($call)) { + ; + } elsif (($call eq $main::myalias && DXCluster->get_exact($call)) || DXCluster->get($call)) { my $mess = DXM::msg($lang, 'concluster', $call); dbg('chan', "-> D $call $mess\n");