projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix here so that it is either on or off and remove all the Route::here
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index f00a436adea5184da5c1e5f9ac79fd4e62ebd5bb..595cfae8246a64d4d7713bb2433a5bdb3940a54c 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-239,7
+239,7
@@
sub new
# add this node to the table, the values get filled in later
my $pkg = shift;
my $call = shift;
# add this node to the table, the values get filled in later
my $pkg = shift;
my $call = shift;
- $main::routeroot->add($call, '5000',
Route::here(1)
) if $call ne $main::mycall;
+ $main::routeroot->add($call, '5000',
1
) if $call ne $main::mycall;
return $self;
}
return $self;
}
@@
-811,7
+811,7
@@
sub handle_16
}
$r = Route::User::get($call);
}
$r = Route::User::get($call);
- my $flags =
Route::here($here)|Route::conf($conf)
;
+ my $flags =
$here
;
if ($r) {
my $au = $r->addparent($parent);
if ($r) {
my $au = $r->addparent($parent);
@@
-970,7
+970,7
@@
sub handle_19
if ($origin ne $self->call) {
my $op = Route::Node::get($origin);
unless ($op) {
if ($origin ne $self->call) {
my $op = Route::Node::get($origin);
unless ($op) {
- $op = $parent->add($origin, 5000,
Route::here(1)
);
+ $op = $parent->add($origin, 5000,
1
);
my $user = DXUser->get_current($origin);
if (!$user) {
$user = DXUser->new($origin);
my $user = DXUser->get_current($origin);
if (!$user) {
$user = DXUser->new($origin);
@@
-1044,7
+1044,7
@@
sub handle_19
}
my $r = Route::Node::get($call);
}
my $r = Route::Node::get($call);
- my $flags =
Route::here($here)|Route::conf($conf)
;
+ my $flags =
$here
;
# is he under the control of the new protocol?
if ($r && $r->np) {
# is he under the control of the new protocol?
if ($r && $r->np) {