summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-06-26 01:39:11 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-06-26 01:39:11 -0400
commit4e31757f1467b36034e1dcef10d78533ff302d57 (patch)
tree1cc9e0ec4f450c7fa33ced1b0e39a3355fedd636 /src/module.cpp
parent6dc3af5db41ecb24669b259c776c51964539d531 (diff)
parentc7cb8897b400f5df31d0ae12dcce892a2b0d1590 (diff)
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'src/module.cpp')
-rw-r--r--src/module.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/module.cpp b/src/module.cpp
index 0556abc4e..7c83a7937 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -26,6 +26,8 @@ Module::Module(const std::string &mname, const std::string &creator)
this->created = time(NULL);
+ this->SetVersion(Anope::Version());
+
Modules.push_back(this);
}