mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 07:47:10 +00:00
fix the badspotter / bad node stuff being put all into baddx
This commit is contained in:
parent
da7476ca7a
commit
78953f794e
3
Changes
3
Changes
@ -1,3 +1,6 @@
|
||||
02Jul02=======================================================================
|
||||
1. Fixed the problem with badspotter or badnode being set to baddx if either
|
||||
of the data files are missing.
|
||||
25Jun02=======================================================================
|
||||
1. as predicted there was an error in the Prefix routine, I have improved it.
|
||||
24Jun02=======================================================================
|
||||
|
@ -35,9 +35,10 @@ sub new
|
||||
{
|
||||
my ($pkg, $name) = @_;
|
||||
my $s = readfilestr($main::data, $name);
|
||||
my $self = eval $s if $s;
|
||||
my $self = undef;
|
||||
$self = eval $s if $s;
|
||||
dbg("error in reading $name in DXHash $@") if $@;
|
||||
$self = bless {name => $name}, $pkg unless $self;
|
||||
$self = bless({name => $name}, $pkg) unless defined $self;
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user