projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix here
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index acd4245c6cddebd8edcfd2aa6ccffd6a5c2beaab..31f912c6030b789b5fef9fa3c310273aa3b45e3e 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-118,13
+118,13
@@
$count = 0;
lastmsgpoll => '0,Last Msg Poll,atime',
inscript => '9,In a script,yesno',
inqueue => '9,Input Queue,parray',
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);
);
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;
+
+main::mkver($VERSION = q$Revision$);
# object destruction
sub DESTROY
# object destruction
sub DESTROY
@@
-187,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
{
sub get
{
- my ($pkg, $call) = @_;
- return $channels{$call};
+ return $channels{$_[0]};
}
# obtain all the channel objects
}
# obtain all the channel objects
@@
-266,7
+265,7
@@
sub is_bbs
sub is_node
{
my $self = shift;
sub is_node
{
my $self = shift;
- return $self->{'sort'} =~ /[ACRSX
W
]/;
+ return $self->{'sort'} =~ /[ACRSX]/;
}
# is it an ak1a node ?
sub is_ak1a
}
# is it an ak1a node ?
sub is_ak1a