fix Local::ann eval error.
authorDirk Koopman <djk@tobit.co.uk>
Sun, 18 Nov 2007 10:52:40 +0000 (10:52 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 18 Nov 2007 10:52:40 +0000 (10:52 +0000)
For some reason if (defined *Local::ann) does not do what I expect.
More research required.

perl/Local.pm
perl/Version.pm

index 2771bbe4441489ec4015449922d823b13491599d..9421f784f3a83f182611702e7a8ec61b79eda022 100644 (file)
@@ -194,6 +194,26 @@ sub spot
        return 0;
 }
 
+# called after the announce has been stored but before it is broadcast,
+# you can do funky routing here that is non-standard. 0 carries on
+# after this, 1 stops dead and no routing is done (this could mean
+# that YOU have done some routing or other instead
+#
+# Parameters:-
+# $self      - the DXChannel object
+# $line      - the input PC12 line
+# $announcer - the call that announced this
+# $via       - the destination * = everywhere, callsign - just to that node
+# $text      - the text of the chat
+# $flag      - ' ' - normal announce, * - SYSOP, else CHAT group
+# $origin    - originating node
+# $wx        - 0 - normal, 1 - WX
+sub ann
+{
+       return 0;
+}
+
+
 # called after the wwv has been stored but before it is broadcast,
 # you can do funky routing here that is non-standard. 0 carries on
 # after this, 1 stops dead and no routing is done (this could mean
index ee36fd9a83f57c7263745255bc694361ccc10781..886f453d94c9994e4a14cb204c1a2073688e7fbe 100644 (file)
@@ -11,6 +11,6 @@ use vars qw($version $subversion $build);
 
 $version = '1.54';
 $subversion = '0';
-$build = '187';
+$build = '188';
 
 1;