mirror of
https://github.com/anope/anope.git
synced 2026-07-01 16:46:38 +02:00
Use clock_gettime if it is available.
This commit is contained in:
@@ -100,7 +100,7 @@ void SocketEngine::Process()
|
||||
#endif
|
||||
|
||||
int sresult = select(MaxFD + 1, &rfdset, &wfdset, &efdset, &tval);
|
||||
Anope::CurTime = time(NULL);
|
||||
Anope::UpdateTime();
|
||||
|
||||
if (sresult == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user