preparing for 1.23 release
[spider.git] / cmd / dx.pl
index 763bf9b0aace735bd8e7db629724c2c594fe15d6..3a3d6cf09e5a189709a163f30fd41850ec748aba 100644 (file)
--- a/cmd/dx.pl
+++ b/cmd/dx.pl
@@ -77,11 +77,14 @@ if ($spotted le ' ') {
 
 return (1, @out) if !$valid;
 
+# change ^ into : for transmission
+$line =~ s/\^/:/og;
+
 # Store it here
-if (Spot::add($freq, $spotted, $main::systime, $line, $spotter)) {
+if (Spot::add($freq, $spotted, $main::systime, $line, $spotter, $main::mycall)) {
        # send orf to the users
        my $buf = Spot::formatb($freq, $spotted, $main::systime, $line, $spotter);
-       DXProt::broadcast_users($buf);
+       DXProt::broadcast_users($buf, 'dx', $buf);
 
 
        # send it orf to the cluster (hang onto your tin helmets)!