Add OnRehashDone() module call

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@969 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-02-29 16:47:34 +00:00
parent ba619d0b3f
commit cb066e2425
3 changed files with 12 additions and 0 deletions

View File

@@ -837,6 +837,14 @@ bool CZNC::RehashConfig(CString& sError)
m_msUsers.clear();
if (DoRehash(sError)) {
#ifdef _MODULES
GetModules().OnRehashDone();
for (map<CString, CUser*>::iterator it = m_msUsers.begin();
it != m_msUsers.end(); it++) {
it->second->GetModules().OnRehashDone();
}
#endif
return true;
}