diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-14 22:12:55 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-14 22:12:55 +0000 |
commit | dbf4d595433ecefeb61f1267ffa515a91c3ab548 (patch) | |
tree | 0e85976e4cd0b77a8fb54a6df54dee94265ac75c /src/modules/m_sqllog.cpp | |
parent | 9c9386d71e1b317fa39cc251eb6450e14ec5929f (diff) |
Fix module unmapping with culled Module objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11875 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sqllog.cpp')
-rw-r--r-- | src/modules/m_sqllog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sqllog.cpp b/src/modules/m_sqllog.cpp index f1174b0ce..9b019f931 100644 --- a/src/modules/m_sqllog.cpp +++ b/src/modules/m_sqllog.cpp @@ -258,9 +258,9 @@ class ModuleSQLLog : public Module AddLogEntry(LT_DISCONNECT,user->nick,user->host,user->server); } - virtual void OnLoadModule(Module* mod, const std::string &name) + virtual void OnLoadModule(Module* mod) { - AddLogEntry(LT_LOADMODULE,name,ServerInstance->Config->ServerName.c_str(), ServerInstance->Config->ServerName.c_str()); + AddLogEntry(LT_LOADMODULE,mod->ModuleSourceFile,ServerInstance->Config->ServerName.c_str(), ServerInstance->Config->ServerName.c_str()); } virtual Version GetVersion() |