summaryrefslogtreecommitdiff
path: root/src/modmanager_dynamic.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-06-26 17:01:33 -0400
committerattilamolnar <attilamolnar@hush.com>2013-08-04 16:08:57 +0200
commit8710724b5518ae9858309e548514f76e620a8459 (patch)
treecb4efb99580cb8957353848a9dc34d5a83ab172e /src/modmanager_dynamic.cpp
parent36f93c0e7f8a980943237b0b28138ade86f5e573 (diff)
Change the syntax of FOREACH macros to be less dumb.
Diffstat (limited to 'src/modmanager_dynamic.cpp')
-rw-r--r--src/modmanager_dynamic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index b9c046a8e..a4a3ddb0b 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -108,7 +108,7 @@ bool ModuleManager::Load(const std::string& filename, bool defer)
if (defer)
return true;
- FOREACH_MOD(I_OnLoadModule,OnLoadModule(newmod));
+ FOREACH_MOD(OnLoadModule, (newmod));
/* We give every module a chance to re-prioritize when we introduce a new one,
* not just the one thats loading, as the new module could affect the preference
* of others