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:
silverleo
2012-02-05 16:26:41 +02:00
committed by SilverLeo
parent 47c427c39d
commit bb666b0ab7

View File

@@ -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)) {