From f00e76d30a86acf0f18bcde5647eedd50de50569 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 10 Sep 2010 20:31:31 -0400 Subject: Added Anope::CurTime to keep us from calling time() everywhere --- src/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/module.cpp') 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()); -- cgit