mirror of
https://github.com/znc/znc.git
synced 2026-05-05 04:52:31 +02:00
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:
2
znc.cpp
2
znc.cpp
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user