add an RBN line to progress
[spider.git] / perl / WCY.pm
index 4974d939620f51ad17b4865b05b0835457ed99a9..826208e5332edf7604335ece130726410307bf5d 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 2000 - Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 package WCY;
@@ -19,12 +19,6 @@ use Data::Dumper;
 
 use strict;
 
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
 use vars qw($date $sfi $k $expk $a $r $sa $gmf $au  @allowed @denied $fp $node $from 
             $dirprefix $param
             $duplth $dupage $filterdef);
@@ -40,12 +34,12 @@ $gmf = "";                                          # Geomag activity
 $au = 'no';                                            # aurora warning
 $node = "";                                            # originating node
 $from = "";                                            # who this came from
-@allowed = ();                                 # if present only these callsigns are regarded as valid WWV updators
+@allowed = qw(DK0WCY);                                 # if present only these callsigns are regarded as valid WWV updators
 @denied = ();                                  # if present ignore any wwv from these callsigns
 $duplth = 20;                                  # the length of text to use in the deduping
 $dupage = 12*3600;                             # the length of time to hold spot dups
 
-$dirprefix = "$main::data/wcy";
+$dirprefix = "$main::local_data/wcy";
 $param = "$dirprefix/param";
 
 $filterdef = bless ([
@@ -61,7 +55,6 @@ $filterdef = bless ([
                          ['origin_zone', 'nz', 19],
                         ], 'Filter::Cmd');
 
-
 sub init
 {
        $fp = DXLog::new('wcy', 'dat', 'm');