X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FRoute%2FNode.pm;h=6b4f4332de9a8ff163054d37b4733cb7d23879f6;hb=101516b420ac77cd9eb8294651104e43f3461c06;hp=eb2f536bd4e96a55d3a1058b3af2419051094931;hpb=5c96125fa684151fbae1daa2c76ca5522d0a09c0;p=spider.git diff --git a/perl/Route/Node.pm b/perl/Route/Node.pm index eb2f536b..6b4f4332 100644 --- a/perl/Route/Node.pm +++ b/perl/Route/Node.pm @@ -206,7 +206,7 @@ sub get my $call = shift; $call = shift if ref $call; my $ref = $list{uc $call}; - dbg('routerr', "Failed to get Node $call" ) unless $ref; + dbg("Failed to get Node $call" ) if !$ref && isdbg('routerr'); return $ref; } @@ -259,7 +259,7 @@ sub DESTROY my $pkg = ref $self; my $call = $self->{call} || "Unknown"; - dbg('route', "destroying $pkg with $call"); + dbg("destroying $pkg with $call") if isdbg('routelow'); } #