Fixed bugs while using --disable-modules

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@254 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-10 06:42:40 +00:00
parent 428baad29e
commit a51dbdeedf
5 changed files with 9 additions and 1 deletions

View File

@@ -308,6 +308,7 @@ bool CZNC::WriteNewConfig(const CString& sConfig) {
vsLines.push_back("\tChanModes = " + sAnswer);
}
#ifdef _MODULES
set<CModInfo> ssMods;
CModules::GetAvailableMods(ssMods, this);
@@ -332,6 +333,7 @@ bool CZNC::WriteNewConfig(const CString& sConfig) {
}
}
}
#endif
vsLines.push_back("");
CUtils::PrintMessage("");