summaryrefslogtreecommitdiff
path: root/src/modmanager_dynamic.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-04-28 14:39:00 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-04-28 15:33:27 -0500
commit43d893c7196dfa159b39fc5de3a10f00d59200b4 (patch)
treec202a42bb589fd1b232c764ca8937c07f859b62d /src/modmanager_dynamic.cpp
parentc28b7526d1b0c7197c4098e62746f1bd62c8fac4 (diff)
Add log header including ircd version
Diffstat (limited to 'src/modmanager_dynamic.cpp')
-rw-r--r--src/modmanager_dynamic.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index c0114ed4e..3845fd6da 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -92,7 +92,8 @@ bool ModuleManager::Load(const std::string& filename, bool defer)
Modules[filename] = newmod;
if (defer)
{
- ServerInstance->Logs->Log("MODULE", DEFAULT,"New module introduced: %s", filename.c_str());
+ ServerInstance->Logs->Log("MODULE", DEFAULT,"New module introduced: %s (Module version %s)",
+ filename.c_str(), newhandle->GetVersion().c_str());
}
else
{
@@ -251,6 +252,7 @@ void ModuleManager::LoadAll()
Module* mod = i->second;
try
{
+ ServerInstance->Logs->Log("MODULE", DEBUG, "Initializing %s", i->first.c_str());
mod->init();
}
catch (CoreException& modexcept)