mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user