mirror of
https://github.com/anope/anope.git
synced 2026-06-25 14:06:37 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const A
|
||||
this->server = Me;
|
||||
|
||||
this->chancount = 0;
|
||||
this->lastmsg = this->created = time(NULL);
|
||||
this->lastmsg = this->created = Anope::CurTime;
|
||||
|
||||
this->SetFlag(BI_CORE);
|
||||
if (!Config->s_ChanServ.empty() && nnick.equals_ci(Config->s_ChanServ))
|
||||
|
||||
Reference in New Issue
Block a user