X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXMsg.pm;h=dce9c04f28f0b8df2b902ece0ba6c12d145968a9;hb=20a1e972197e2d479bd35da2deb2bce22209a10e;hp=75ae1befe21a75d4ba4f48fbcaf61c284f1ae0eb;hpb=1f1ba20386876b3d2a74e5e4d77bf7119a04610b;p=spider.git diff --git a/perl/DXMsg.pm b/perl/DXMsg.pm index 75ae1bef..dce9c04f 100644 --- a/perl/DXMsg.pm +++ b/perl/DXMsg.pm @@ -636,7 +636,7 @@ sub queue_msg # guess, use (to, from, time, subject) tuple? foreach $dxchan (@nodelist) { next if $dxchan->call eq $main::mycall; - next if grep { $_ eq $dxchan->call } @{$ref->{gotit}}; + next if ref $ref->{gotit} && grep $_ eq $dxchan->call, @{$ref->{gotit}}; next unless $ref->forward_it($dxchan->call); # check the forwarding file # if we are here we have a node that doesn't have this message