From 8710724b5518ae9858309e548514f76e620a8459 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 26 Jun 2013 17:01:33 -0400 Subject: Change the syntax of FOREACH macros to be less dumb. --- src/modmanager_static.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modmanager_static.cpp') 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 -- cgit v1.3.1-10-gc9f91