diff options
| author | 2010-08-24 21:42:47 -0400 | |
|---|---|---|
| committer | 2010-08-24 21:42:47 -0400 | |
| commit | 468bbfda34453f50b533701c8ef50ad22def092a (patch) | |
| tree | f9207bbfb71919365b22c6dddcfbbaabed478723 /src/configreader.cpp | |
| parent | Prevent using /TMODE to register channels over the limit (diff) | |
| download | inspircd++-468bbfda34453f50b533701c8ef50ad22def092a.tar.gz inspircd++-468bbfda34453f50b533701c8ef50ad22def092a.tar.bz2 inspircd++-468bbfda34453f50b533701c8ef50ad22def092a.zip | |
Replace thread engine with job engine
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 6dd130e76..3edc08352 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -823,13 +823,12 @@ std::string ServerConfig::GetSID() return sid; } -void ConfigReaderThread::Run() +void ConfigReaderThread::run() { Config->Read(); - done = true; } -void ConfigReaderThread::Finish() +void ConfigReaderThread::finish() { ServerConfig* old = ServerInstance->Config; ServerInstance->Logs->Log("CONFIG",DEBUG,"Switching to new configuration..."); @@ -841,4 +840,5 @@ void ConfigReaderThread::Finish() // successful; free the old conf on destruction Config = old; } + ServerInstance->PendingRehash = 0; } |
