diff options
Diffstat (limited to 'win/inspircd_win32wrapper.cpp')
-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; |