staging commt for badword and badip
[spider.git] / perl / DXProt.pm
index 67dc56632d80b4d2e06abcb509daa2d239c7c71e..ac675f7cafefa6496064a65172c27a9a6bc32e88 100644 (file)
@@ -1082,7 +1082,7 @@ sub get_hops
 {
        my $pcno = shift;
        my $hops = $DXProt::hopcount{$pcno};
-       $hops = $DXProt::def_hopcount if !$hops;
+       $hops = $DXProt::def_hopcount unless $hops;
        return "H$hops";
 }