remove any leading ::ffff: on ipv4 addresses
[spider.git] / perl / Bands.pm
index 728bb615538cdb7a6d8cdfbeac1bf74babf21c77..cc67dc234da5b5ed13331143d26e039b39be993f 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 1998 - Dirk Koopman G1TLH
 #
-# $Id$
+#
 #
 
 package Bands;
@@ -18,7 +18,7 @@ use vars qw(%bands %regions %aliases $bandsfn %valid);
 %bands = ();                                   # the 'raw' band data
 %regions = ();                                 # list of regions for shortcuts eg vhf ssb
 %aliases = ();                                 # list of aliases
-$bandsfn = "$main::data/bands.pl";
+$bandsfn = localdata("bands.pl");
 
 %valid = (
                  cw => '0,CW,parraypairs',
@@ -35,12 +35,6 @@ $bandsfn = "$main::data/bands.pl";
                  band => '0,BAND,parraypairs',
                 );
 
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
 # load the band data
 sub load
 {