X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtout.pm;h=c49f953aec4b1327ef889ae28aeeec6c1b10a69c;hb=093ac03207bd4468fa89dc7438936b245a92cbe5;hp=7afb0e92af1241c134908c04348bbfb857a581d7;hpb=295091c6014aadfa875b2617b2062b2d2daaced2;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 7afb0e92..c49f953a 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -186,7 +186,7 @@ sub pc29 { my ($fromnode, $tonode, $stream, $text) = @_; $text =~ s/\^/:/og; # remove ^ - $text =~ s/\~/S/og; +# $text =~ s/\~/S/og; return "PC29^$fromnode^$tonode^$stream^$text^~"; } @@ -235,13 +235,7 @@ sub pc35 # send all the DX clusters I reckon are connected sub pc38 { - my @list = DXNode->get_all(); - my $list; - my @nodes; - - foreach $list (@list) { - push @nodes, $list->call; - } + my @nodes = map { ($_->dxchan && $_->dxchan->isolate) ? () : $_->call } DXNode->get_all(); return "PC38^" . join(',', @nodes) . "^~"; }