summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-21 16:49:26 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2011-05-21 16:49:26 -0400
commitf5409f04cd9fdb99cf4484785a2b14628464b538 (patch)
tree8944ddac5abf4fe4e7ff5eb93f10103bafcc6f20 /win/inspircd_win32wrapper.cpp
parent48fcc4070fe713a0fb22f9f1b4eabaefc8d58445 (diff)
Fix timers never being ticked on windows
Diffstat (limited to 'win/inspircd_win32wrapper.cpp')
-rw-r--r--win/inspircd_win32wrapper.cpp2
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;