add some security fixes
[spider.git] / perl / DXChannel.pm
index 90e19ef9e2bb433c3d80b397286ed757a7db8c97..31f912c6030b789b5fef9fa3c310273aa3b45e3e 100644 (file)
@@ -118,6 +118,8 @@ $count = 0;
                  lastmsgpoll => '0,Last Msg Poll,atime',
                  inscript => '9,In a script,yesno',
                  inqueue => '9,Input Queue,parray',
+                 lastcf => '1,Last CF Update,atime',
+                 lasthello => '1,Last Hello Update,atime',
                 );
 
 use vars qw($VERSION $BRANCH);
@@ -185,11 +187,10 @@ sub rec
        }
 }
 
-# obtain a channel object by callsign [$obj = DXChannel->get($call)]
+# obtain a channel object by callsign [$obj = DXChannel::get($call)]
 sub get
 {
-       my ($pkg, $call) = @_;
-       return $channels{$call};
+       return $channels{$_[0]};
 }
 
 # obtain all the channel objects