diff options
author | Adam <Adam@anope.org> | 2011-05-21 16:49:26 -0400 |
---|---|---|
committer | Daniel De Graaf <danieldg@inspircd.org> | 2011-05-21 16:49:26 -0400 |
commit | f5409f04cd9fdb99cf4484785a2b14628464b538 (patch) | |
tree | 8944ddac5abf4fe4e7ff5eb93f10103bafcc6f20 | |
parent | 48fcc4070fe713a0fb22f9f1b4eabaefc8d58445 (diff) |
Fix timers never being ticked on windows
-rw-r--r-- | win/inspircd_win32wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp index 88ea338c6..3eb3202bc 100644 --- a/win/inspircd_win32wrapper.cpp +++ b/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; |