Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Commit f49f2d2

Browse files
authored
Merge pull request thaliproject#124 from zeroleak/fix-hasSafeSocks-true
SafeSocks cannot be enabled with TorSettings thaliproject#123
2 parents ecb4799 + c0775ed commit f49f2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

universal/src/main/java/com/msopentech/thali/toronionproxy/TorConfigBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public TorConfigBuilder safeSocksEnable() {
375375

376376
@SettingsConfig
377377
public TorConfigBuilder safeSocksFromSettings() {
378-
return !settings.hasSafeSocks() ? safeSocksDisable() : this;
378+
return !settings.hasSafeSocks() ? safeSocksDisable() : safeSocksEnable();
379379
}
380380

381381
public TorConfigBuilder setGeoIpFiles() throws IOException {

0 commit comments

Comments
 (0)