diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-21 13:28:05 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-07-21 16:01:39 +0200 |
commit | 9b66dd6c292347acf313c1ee9506231749f3d270 (patch) | |
tree | 12eebf0f3eb97ced18c77e8aa02bbbe09d907a76 /src | |
parent | 0b3a4371c504c45c8a4504d114efb2ca674374e0 (diff) |
Don't hardcode conf/inspircd.conf as the config file, allow the configure script to override it (configure asked for the path but the ircd used the hardcoded path regardless)
Fixes #264 reported by @ampt
Diffstat (limited to 'src')
-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 aa03d62de..4abfb496a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -303,7 +303,7 @@ void InspIRCd::WritePID(const std::string &filename) } InspIRCd::InspIRCd(int argc, char** argv) : - ConfigFileName("conf/inspircd.conf"), + ConfigFileName(CONFIG_PATH "/inspircd.conf"), /* Functor pointer initialisation. * |