mirror of
https://github.com/anope/anope.git
synced 2026-06-26 17:56:38 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
@@ -119,6 +119,7 @@ class SocketEngineEPoll : public SocketEngineBase
|
||||
void Process()
|
||||
{
|
||||
int total = epoll_wait(EngineHandle, events, max - 1, Config->ReadTimeout * 1000);
|
||||
Anope::CurTime = time(NULL);
|
||||
|
||||
if (total == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user