mirror of
https://github.com/anope/anope.git
synced 2026-07-04 03:03:12 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
@@ -44,7 +44,7 @@ class CommandOSChanKill : public Command
|
||||
return MOD_CONT;
|
||||
}
|
||||
else if (expires > 0)
|
||||
expires += time(NULL);
|
||||
expires += Anope::CurTime;
|
||||
|
||||
if (params.size() <= last_param)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user