Skip to content

Commit

Permalink
fix regression: default security level is normal
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneBab committed Jan 22, 2023
1 parent 8b4a699 commit 207b21e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/freenet/clients/http/FirstTimeWizardNewToadlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ private Map<String, Object> toModel() {

private void save() {
if (knowSomeone.isEmpty()) {
// Opennet
core.node.securityLevels.setThreatLevel(SecurityLevels.NETWORK_THREAT_LEVEL.LOW);
// Opennet + Darknet (possible)
core.node.securityLevels.setThreatLevel(SecurityLevels.NETWORK_THREAT_LEVEL.NORMAL);
} else {
if (connectToStrangers.isEmpty()) {
// Darknet
Expand Down

0 comments on commit 207b21e

Please sign in to comment.