projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split DXProt into handlers and processing
[spider.git]
/
perl
/
Route
/
User.pm
diff --git
a/perl/Route/User.pm
b/perl/Route/User.pm
index ebccba9b722b2c7ee3a7f2d0e2d2fc6c0ffe92e9..d3cfb7d34abfec26b9f814a9141126665517e866 100644
(file)
--- a/
perl/Route/User.pm
+++ b/
perl/Route/User.pm
@@
-14,8
+14,8
@@
use Route;
use strict;
use vars qw($VERSION $BRANCH);
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,0));
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /
:\s+
(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /
:\s+
\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
$main::build += $VERSION;
$main::branch += $BRANCH;
$main::build += $VERSION;
$main::branch += $BRANCH;
@@
-23,7
+23,8
@@
use vars qw(%list %valid @ISA $max $filterdef);
@ISA = qw(Route);
%valid = (
@ISA = qw(Route);
%valid = (
- dxchan => '0,Dxchan Calls,parray',
+ dxchan => '0,Dxchan List,parray',
+ nodes => '0,On Node(s),parray',
);
$filterdef = $Route::filterdef;
);
$filterdef = $Route::filterdef;
@@
-48,14
+49,13
@@
sub new
my $pkg = shift;
my $call = uc shift;
my $ncall = uc shift;
my $pkg = shift;
my $call = uc shift;
my $ncall = uc shift;
- my $flags = shift;
+ my $flags = shift
|| Route::here(1)
;
confess "already have $call in $pkg" if $list{$call};
my $self = $pkg->SUPER::new($call);
$self->{nodes} = [ ];
$self->{flags} = $flags;
$list{$call} = $self;
confess "already have $call in $pkg" if $list{$call};
my $self = $pkg->SUPER::new($call);
$self->{nodes} = [ ];
$self->{flags} = $flags;
$list{$call} = $self;
- dbg("creating Route::User $self->{call}") if isdbg('routelow');
return $self;
}
return $self;
}