mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Added ifdef for modules
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@440 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -361,6 +361,7 @@ bool CUser::WriteConfig(CFile& File) {
|
||||
}
|
||||
File.Write("\r\n");
|
||||
|
||||
#ifdef _MODULES
|
||||
// Modules
|
||||
CModules& Mods = GetModules();
|
||||
|
||||
@@ -374,6 +375,7 @@ bool CUser::WriteConfig(CFile& File) {
|
||||
PrintLine(File, "LoadModule", Mods[a]->GetModName() + sArgs);
|
||||
}
|
||||
File.Write("\r\n");
|
||||
#endif
|
||||
|
||||
// Servers
|
||||
for (unsigned int b = 0; b < m_vServers.size(); b++) {
|
||||
|
||||
Reference in New Issue
Block a user