mirror of
https://github.com/znc/znc.git
synced 2026-08-09 02:12:56 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user