changed FileHandle to IO::File in cmds
[spider.git] / perl / DXProt.pm
index d9e59c4937bc9211cc8425a804760879dfba6aa6..17328bc2cc6ee79c9e31d76cd31cd8df929d393d 100644 (file)
@@ -661,6 +661,7 @@ sub normal
                if ($pcno == 50) {              # keep alive/user list
                        my $node = DXCluster->get_exact($field[1]);
                        if ($node) {
+                               return unless $node->isa('DXNode');
                                return unless $node->dxchan == $self;
                                $node->update_users($field[2]);
                        }