diff options
| author | 2013-08-12 09:20:46 -0700 | |
|---|---|---|
| committer | 2013-08-12 09:20:46 -0700 | |
| commit | 9d4efff3957f1ad163f726bc44bed3a4870afb94 (patch) | |
| tree | 85a67980fb21b7a61756761558fef396adad7dd7 /src/inspircd.cpp | |
| parent | Remove virtual User::GetClass() (but keep LocalUser::GetClass()) (diff) | |
| parent | Add <path> keys for all of the compile-time paths. (diff) | |
Merge pull request #591 from SaberUK/master+config-tweaks
Various patches relating to configuration.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 59c65b931..f2095c4a2 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -207,7 +207,7 @@ void InspIRCd::WritePID(const std::string &filename) #ifndef _WIN32 std::string fname(filename); if (fname.empty()) - fname = DATA_PATH "/inspircd.pid"; + fname = ServerInstance->Config->Paths.PrependData("inspircd.pid"); std::ofstream outfile(fname.c_str()); if (outfile.is_open()) { |
