projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix very long standing bug in storing and transmitting spots. The decimal
[spider.git]
/
perl
/
ExtMsg.pm
diff --git
a/perl/ExtMsg.pm
b/perl/ExtMsg.pm
index 3f8159aa54699357bff0ac074a4a9235928a2698..74c544c4453f1c68e370a92e9e8e9d82e06010f9 100644
(file)
--- a/
perl/ExtMsg.pm
+++ b/
perl/ExtMsg.pm
@@
-90,7
+90,9
@@
sub dequeue
} elsif ($conn->{state} eq 'WL' ) {
$msg = uc $msg;
if (is_callsign($msg)) {
} elsif ($conn->{state} eq 'WL' ) {
$msg = uc $msg;
if (is_callsign($msg)) {
- $conn->to_connected($msg, 'A', $conn->{csort});
+ my $sort = $conn->{csort};
+ $sort = 'local' if $conn->{peerhost} eq "127.0.0.1";
+ $conn->to_connected($msg, 'A', $sort);
} else {
$conn->send_now("Sorry $msg is an invalid callsign");
$conn->disconnect;
} else {
$conn->send_now("Sorry $msg is an invalid callsign");
$conn->disconnect;