SSID appears to work!
[spider.git] / perl / cluster.pl
index f1b467321219f222df82efaaffd7dabb8722165c..c3f264bc7d76b456491b21288fddce812693cce8 100755 (executable)
@@ -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");