]> dxcluster.org Git - spider.git/commitdiff
made spots work again
authordjk <djk>
Sat, 22 May 1999 18:50:20 +0000 (18:50 +0000)
committerdjk <djk>
Sat, 22 May 1999 18:50:20 +0000 (18:50 +0000)
removed detritus

Changes
cmd/Aliases
perl/DXProt.pm

diff --git a/Changes b/Changes
index 35feff184e3a0127fe8782f1b385214e69c2ec22..11bea0bcb4eaea944dcd63d66fbd4bce829f9fb7 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
+21May99=======================================================================
+1. made set/nodx work again.
+2. mode dx stuff queue nicely again.
 18May99=======================================================================
 1. Added announce dup checking.
+2. Added system announce filtering.
 08May99=======================================================================
 1. Added a bit more checking to the rcmd thing to make more sure that this
 rcmd isn't coming from an imposter. Not possible to prevent everything 
index 7d3b1300e8ff83f6ae0190ef59552443b49ece44..d1f7cfb3caed0f8b505d5005210cb517fee34269 100644 (file)
@@ -89,15 +89,15 @@ package CmdAlias;
          '^set/noww', 'unset/wwv', 'unset/wwv',
          '^set/nowx', 'unset/wx', 'unset/wx',
          '^sh$', 'show', 'show',
-         '^sh.*/c/n', 'show/configuration nodes', 'show/configuration',
-         '^sh.*/c$', 'show/configuration', 'show/configuration',
-         '^sh.*/dx/(\d+)-(\d+)', 'show/dx $1-$2', 'show/dx',
-         '^sh.*/dx/(\d+)', 'show/dx $1', 'show/dx',
-         '^sh.*/dx/d(\d+)', 'show/dx from $1', 'show/dx',
+         '^sh\w*/c/n', 'show/configuration nodes', 'show/configuration',
+         '^sh\w*/c$', 'show/configuration', 'show/configuration',
+         '^sh\w*/dx/(\d+)-(\d+)', 'show/dx $1-$2', 'show/dx',
+         '^sh\w*/dx/(\d+)', 'show/dx $1', 'show/dx',
+         '^sh\w*/dx/d(\d+)', 'show/dx from $1', 'show/dx',
          '^sp$', 'send', 'send',
          '^sb$', 'send noprivate', 'send',     
-         '^sh.*/wwv/(\d+)-(\d+)', 'show/wwv $1-$2', 'show/wwv',
-         '^sh.*/wwv/(\d+)', 'show/wwv $1', 'show/wwv',
+         '^sh\w*/w\w*/(\d+)-(\d+)', 'show/wwv $1-$2', 'show/wwv',
+         '^sh\w*/w\w*/(\d+)', 'show/wwv $1', 'show/wwv',
     ],
        't' => [
          '^t', 'talk', 'talk',
index 5bda044a045644a3a8687c2ff4e36828c9958bec..7cde642c00206f806f3232e0d6f25b3a394d48b6 100644 (file)
@@ -735,10 +735,14 @@ sub send_dx_spot
                                $dxchan->send($routeit) unless $dxchan->{isolate} || $self->{isolate};
                                
                        }
-               } elsif ($dxchan->is_user) {
+               } elsif ($dxchan->is_user && $dxchan->{dx}) {
                        my $buf = Spot::formatb($_[0], $_[1], $_[2], $_[3], $_[4]);
                        $buf .= "\a\a" if $dxchan->beep;
-                       $dxchan->send($buf) if !$hops || ($hops && $filter);
+                       if ($dxchan->{state} eq 'prompt' || $dxchan->{state} eq 'convers') {
+                               $dxchan->send($buf) if !$hops || ($hops && $filter);
+                       } else {
+                               $dxchan->delay($buf) if !$hops || ($hops && $filter);
+                       }
                }                                       
        }
 }