Permalink
Browse files

Fix timers never being ticked on windows

  • Loading branch information...
1 parent 48fcc40 commit f5409f04cd9fdb99cf4484785a2b14628464b538 @Adam- Adam- committed with Daniel De Graaf May 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 win/inspircd_win32wrapper.cpp
@@ -712,7 +712,7 @@ int gettimeofday(timeval *tv, void *)
SYSTEMTIME st;
GetSystemTime(&st);
- tv->tv_sec = ServerInstance->Time();
+ tv->tv_sec = time(NULL);
tv->tv_usec = st.wMilliseconds;
return 0;

0 comments on commit f5409f0

Please sign in to comment.