mirror of
https://github.com/znc/znc.git
synced 2026-05-03 03:52:33 +02:00
Fix an Unrecoverable config error issue when reading from an old config.
Default this boolean to true incase there are no networks to loop over. This will silently drop any network modules for the user, but since there are no networks anyway it doesn't really matter.
This commit is contained in:
@@ -363,7 +363,7 @@ bool CUser::ParseConfig(CConfig* pConfig, CString& sError) {
|
||||
CUtils::PrintAction("Loading Module [" + sModName + "]");
|
||||
CString sModRet;
|
||||
CString sArgs = sValue.Token(1, true);
|
||||
bool bModRet;
|
||||
bool bModRet = true;
|
||||
|
||||
CModInfo ModInfo;
|
||||
if (!CZNC::Get().GetModules().GetModInfo(ModInfo, sModName, sModRet)) {
|
||||
|
||||
Reference in New Issue
Block a user