1. added wantgrid (to control display of grid square info on DX Broadcasts)
[spider.git] / cmd / dx.pl
index 5e9eec1ccf6e78a12a358b46eb11b7c51ff200f7..3a45f6ce86f35c35f0542700c5642b0bf76fb1d5 100644 (file)
--- a/cmd/dx.pl
+++ b/cmd/dx.pl
@@ -97,7 +97,7 @@ $line =~ s/\^/:/og;
 
 # Store it here (but only if it isn't baddx)
 if (grep $_ eq $spotted, @DXProt::baddx) {
-       my $buf = Spot::formatb($freq, $spotted, $main::systime, $line, $spotter);
+       my $buf = Spot::formatb($self->user->wantgrid, $freq, $spotted, $main::systime, $line, $spotter);
        push @out, $buf;
 } else {
        return (1, $self->msg('dup')) if Spot::dup($freq, $spotted, $main::systime, $line);