mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 08:42:58 +00:00
enable blocklists by default
This commit is contained in:
1 parent
b73b3fc5ac
commit
f1fd35265a
3 files changed
+37
-2
No files matched your search
@@ -85,8 +85,7 @@ public class Blocklist {
|
||||
static final String BLOCKLIST_FILE_DEFAULT = "blocklist.txt";
|
||||
|
||||
public void startup() {
|
||||
String enabled = _context.getProperty(PROP_BLOCKLIST_ENABLED, "false");
|
||||
if (! "true".equals(enabled))
|
||||
if (! Boolean.valueOf(_context.getProperty(PROP_BLOCKLIST_ENABLED, "true")).booleanValue())
|
||||
return;
|
||||
String file = _context.getProperty(PROP_BLOCKLIST_FILE, BLOCKLIST_FILE_DEFAULT);
|
||||
// Maybe someday we'll read in multiple files and merge them
|
||||
|
||||
Reference in new issue
Block a user