mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-30 00:35:05 +00:00
Fix inverted logic for !Discover/!UPNP when !Listen.
This commit is contained in:
parent
fab7858a35
commit
3bbb49de55
@ -344,7 +344,7 @@ bool AppInit2()
|
||||
SoftSetBoolArg("-listen", false);
|
||||
}
|
||||
|
||||
if (GetBoolArg("-listen", true)) {
|
||||
if (!GetBoolArg("-listen", true)) {
|
||||
// do not map ports or try to retrieve public IP when not listening (pointless)
|
||||
SoftSetBoolArg("-upnp", false);
|
||||
SoftSetBoolArg("-discover", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user