diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-01-19 17:38:30 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-01-19 17:38:30 +0100 |
commit | 2653fbaa28c9b7b41e03abd4893ea623a6276d21 (patch) | |
tree | eb2cb85f102a3de1437207a6f5b033cd95d80a3c /src/configreader.cpp | |
parent | 078abdfc8fecc3b5738d7c6b1943302eeb3939ee (diff) |
Don't bind ports after an unsuccessful rehash
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index bd147782e..b3caf8c75 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -730,7 +730,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid) if (valid) ServerInstance->WritePID(this->PID); - if (old) + if (old && valid) { // On first run, ports are bound later on FailedPortList pl; |