summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/module.cpp')
-rw-r--r--src/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.cpp b/src/module.cpp
index 98eb9b4fd..148901180 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -23,7 +23,7 @@ Module::Module(const Anope::string &mname, const Anope::string &creator)
if (FindModule(this->name))
throw CoreException("Module already exists!");
- this->created = time(NULL);
+ this->created = Anope::CurTime;
this->SetVersion(Anope::Version());