fix talk command.
authorDirk Koopman <djk@tobit.co.uk>
Tue, 26 Mar 2024 13:50:01 +0000 (13:50 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Tue, 26 Mar 2024 13:50:01 +0000 (13:50 +0000)
Changes
cmd/talk.pl

diff --git a/Changes b/Changes
index 3b8920033c8f4ba927e64579e330eca72741e7a2..e2f183d1576b8800609c48064384e7d0c5fde230 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,8 @@
+25Mar24======================================================================
+1. Make talk work. Note: this now works as the mojo branch originally
+   expected - which means that it may (and likely will) flood route talks 
+   where the callsign that you want to talk to does not have a route to
+   both the callsign and any nodes that it may be connected to. 
 22Mar24======================================================================
 1. Change the processing of trailing callsigns slightly so that /1 /2 etc are
    retained, but the /P /M /A /MM etc are removed.
index 62198627e3873b463825654399eafc39bee3adc3..e924acbde41bb95a5ed3ea7aa1106006034d2600 100644 (file)
@@ -24,7 +24,9 @@ return (1, $self->msg('e5')) if $self->remotecmd || $self->inscript;
 # via is deprecated / ignored
 $inline =~ s/(?:\s*>([A-Za-z0-9\-]+))\s*//;
 
-($to, $line) = $inline =~ /^\s*([A-Za-z0-9\-]+)\s+(.*)$/;
+($to, $line) = $inline =~ /^\s*([A-Za-z0-9\-]+)\s*(.*)?$/;
+
+#$DB::single = 1;
 
 return (1, $self->msg('e8')) unless $to;