Added global module hook OnConfigLine()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@355 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-24 01:31:37 +00:00
parent c8097898aa
commit c041a6e17f
3 changed files with 48 additions and 3 deletions
+4 -2
View File
@@ -823,8 +823,10 @@ bool CZNC::ParseConfig(const CString& sConfig) {
}
}
CUtils::PrintError("Unhandled line in config: [" + sLine + "]");
return false;
if (!GetModules().OnConfigLine(sName, sValue, pUser, pChan)) {
CUtils::PrintError("Unhandled line in config: [" + sLine + "]");
return false;
}
}
if (pChan) {