mirror of
https://github.com/anope/anope.git
synced 2026-06-29 07:36:39 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
@@ -84,7 +84,7 @@ class CommandHSSetAll : public Command
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
tmp_time = time(NULL);
|
||||
tmp_time = Anope::CurTime;
|
||||
|
||||
Log(LOG_ADMIN, u, this) << "to set the vhost for all nicks in group " << na->nc->display << " to " << (!vIdent.empty() ? vIdent + "@" : "") << hostmask;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user