Fix ALLMODULECALL()

It didn't call network modules, so stuff like OnBoot() wasn't sent to network
modules.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-09-12 17:36:28 +02:00
parent 3e9ad07d85
commit 64ae6f30fb
+9
View File
@@ -38,6 +38,15 @@
if (UMods.macFUNC) { \
macEXITER; \
} \
const vector<CIRCNetwork*>& mNets = \
it->second->GetNetworks(); \
vector<CIRCNetwork*>::const_iterator it2; \
for (it2 = mNets.begin(); it2 != mNets.end(); ++it2) { \
CModules& NMods = (*it2)->GetModules(); \
if (NMods.macFUNC) { \
macEXITER; \
} \
} \
} \
} \
} while (false)