mirror of
https://github.com/anope/anope.git
synced 2026-06-25 03:26:38 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user