added US State information on DX Spots
[spider.git] / perl / DXUser.pm
index 4787ce3cdb3aa64ec89db82d53fd4ccd5f1880e9..0522cf2da2d6ade1dd3d6986434eb6769e37e040 100644 (file)
@@ -83,6 +83,7 @@ $v3 = 0;
                  wantpc16 => '9,Want Users from node,yesno',
                  wantsendpc16 => '9,Send PC16,yesno',
                  wantroutepc19 => '9,Route PC19,yesno',
+                 wantusstate => '9,Show US State,yesno',
                  lastoper => '9,Last for/oper,cldatetime',
                  nothere => '0,Not Here Text',
                  registered => '9,Registered?,yesno',
@@ -130,6 +131,9 @@ sub init
        if ($@) {
                $ufn = "$fn.v2";
                $v3 = $convert = 0;
+               dbg("the module Storable appears to be missing!!");
+               dbg("trying to continue in compatibility mode (this may fail)");
+               dbg("please install Storable from CPAN as soon as possible");
        } else {
                import Storable qw(nfreeze thaw);
 
@@ -666,6 +670,11 @@ sub wantroutepc16
        return _want('routepc16', @_);
 }
 
+sub wantusstate
+{
+       return _want('usstate', @_);
+}
+
 sub wantlogininfo
 {
        my $self = shift;