* Export petnames from syndie to the router's petname db instead of userhosts.txt.
This commit is contained in:
@ -45,6 +45,7 @@ public class PetNameDB {
|
||||
}
|
||||
|
||||
public void load(String location) throws IOException {
|
||||
_path = location;
|
||||
File f = new File(location);
|
||||
if (!f.exists()) return;
|
||||
BufferedReader in = null;
|
||||
@ -56,7 +57,6 @@ public class PetNameDB {
|
||||
if (name.getName() != null)
|
||||
_names.put(name.getName(), name);
|
||||
}
|
||||
_path = location;
|
||||
} finally {
|
||||
in.close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user