]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modmanager_static.cpp
Change the syntax of FOREACH macros to be less dumb.
[user/henk/code/inspircd.git] / src / modmanager_static.cpp
index 44c36919bbb606dd16f031fd9a97a237d2af19ba..40123674bcdc7e93862c61d2b2550cf4f45b627f 100644 (file)
@@ -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