summaryrefslogtreecommitdiff
path: root/src/modmanager_static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modmanager_static.cpp')
-rw-r--r--src/modmanager_static.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp
index 44c36919b..40123674b 100644
--- a/src/modmanager_static.cpp
+++ b/src/modmanager_static.cpp
@@ -112,7 +112,7 @@ bool ModuleManager::Load(const std::string& name, bool defer)
ServerInstance->Logs->Log("MODULE", LOG_DEFAULT, "Unable to load " + name + ": " + modexcept.GetReason());
return false;
}
- FOREACH_MOD(I_OnLoadModule,OnLoadModule(mod));
+ FOREACH_MOD(OnLoadModule, (mod));
/* 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