reduce the amount of POSIX loaded.
[spider.git] / perl / WCY.pm
index 4974d939620f51ad17b4865b05b0835457ed99a9..657a49cb172c32142983077ae6620ed0ccda835c 100644 (file)
@@ -21,7 +21,7 @@ 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;
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ||  (0,0));
 $main::build += $VERSION;
 $main::branch += $BRANCH;
 
@@ -40,7 +40,7 @@ $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