fix it so that the node'c country is used as default for things like sh/c
[spider.git] / perl / cluster.pl
index 58742e1952bd78b3e8618c8d51451c8c083a7f3f..5d102e4f80a92062b4b66ccd484bc7a290853aac 100755 (executable)
@@ -244,7 +244,7 @@ sub rec
 sub clean_inqueue
 {
        my $dxchan = shift;
-       @inqueue = grep {$_ != $dxchan} @inqueue;
+       @inqueue = grep {$_->{dxchan} != $dxchan} @inqueue;
 }
 
 sub login
@@ -406,7 +406,7 @@ dbg("DXSpider Version $version, build $build started");
 
 # load Prefixes
 dbg("loading prefixes ...");
-my $r = Prefix::load();
+my $r = Prefix::init();
 confess $r if $r;
 dbg(USDB::init());