diff options
| author | 2022-04-30 16:17:35 +0100 | |
|---|---|---|
| committer | 2022-04-30 16:26:31 +0100 | |
| commit | 741395074cb7ba238343f8104dccc3dd689c40f1 (patch) | |
| tree | 9dbd044435fa93c81cfc4c19da1c702005fb5358 /src/inspircd.cpp | |
| parent | Enable getting the local server hostname on Windows. (diff) | |
Enable writing a pid file on Windows.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 8df74c5b3..2e6504642 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -438,7 +438,6 @@ void InspIRCd::Cleanup() void InspIRCd::WritePID() { -#ifndef _WIN32 if (!ServerInstance->Config->cmdline.writepid) { this->Logs.Log("STARTUP", LOG_DEFAULT, "--nopid specified on command line; PID file not written."); @@ -458,7 +457,6 @@ void InspIRCd::WritePID() this->Logs.Log("STARTUP", LOG_DEFAULT, "Failed to write PID-file '%s', exiting.", pidfile.c_str()); Exit(EXIT_STATUS_PID); } -#endif } InspIRCd::InspIRCd(int argc, char** argv) |
