summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modmanager_dynamic.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index 1fcf3aa56..0c63eefcd 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -88,11 +88,10 @@ bool ModuleManager::Load(const char* filename)
{
newmod->ModuleSourceFile = filename_str;
newmod->ModuleDLLManager = newhandle;
- Version v = newmod->GetVersion();
Modules[filename_str] = newmod;
-
newmod->init();
+ Version v = newmod->GetVersion();
ServerInstance->Logs->Log("MODULE", DEFAULT,"New module introduced: %s (Module version %s)%s",
filename, newhandle->GetVersion().c_str(), (!(v.Flags & VF_VENDOR) ? " [3rd Party]" : " [Vendor]"));
}