summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:48:39 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:48:39 +0000
commit79f9faeec84fbcb704b45811b9851148ab1cb20b (patch)
tree2e7ec71fd6f93244a6d739ca9ca318ed02fd06b7 /src/modules.cpp
parent06e0d5c7f0f78c489090fe5f0c18a91e8cb41ae8 (diff)
Record module source file in the Module object
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11630 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 701b76ae2..5b2cc8ee4 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -431,6 +431,7 @@ bool ModuleManager::Load(const char* filename)
if (newmod)
{
+ newmod->ModuleSourceFile = filename_str;
Version v = newmod->GetVersion();
if (v.API != API_VERSION)