X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FRoute%2FNode.pm;h=51ecedea2bb6575c9d58220cba96011e696cd9e4;hb=bf5eb90cfb12c5070db6726af98d1d464bdb4ea3;hp=6b4f4332de9a8ff163054d37b4733cb7d23879f6;hpb=101516b420ac77cd9eb8294651104e43f3461c06;p=spider.git diff --git a/perl/Route/Node.pm b/perl/Route/Node.pm index 6b4f4332..51ecedea 100644 --- a/perl/Route/Node.pm +++ b/perl/Route/Node.pm @@ -128,6 +128,9 @@ sub add_user { my $self = shift; my $ucall = shift; + + confess "Trying to add NULL User call to routing tables" unless $ucall; + $self->_adduser($ucall); $self->{usercount} = scalar @{$self->{users}};