diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 13:17:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 13:17:40 +0000 |
commit | 13509c0bb51cec9b0b5b522f89318a53436d6880 (patch) | |
tree | cce4e2462ae36f41470a3084e933325ce31b5a0a /src | |
parent | cf42cf75d175807a724a267253d53f02d415d1db (diff) |
Moved retrieval of PID filename into ReadConfig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2404 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 23ce90109..0e4e976c4 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -389,6 +389,10 @@ void ReadConfig(bool bail, userrec* user) log(DEFAULT,"Applying K lines, Q lines and Z lines..."); apply_lines(APPLY_ALL); + ConfValue("pid","file",0,Config->PID,&Config->config_f); + // write once here, to try it out and make sure its ok + WritePID(Config->PID); + log(DEFAULT,"Done reading configuration file, InspIRCd is now starting."); if (!bail) { @@ -2232,10 +2236,6 @@ int InspIRCd(char** argv, int argc) printf("\n"); startup_time = time(NULL); - - ConfValue("pid","file",0,Config->PID,&Config->config_f); - // write once here, to try it out and make sure its ok - WritePID(PID); if (!Config->nofork) { |