summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 1265dc3e2..a74a219d9 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -52,7 +52,6 @@ static Anope::string GetTimeStamp()
if (time(&t) < 0)
throw CoreException("time() failed");
tm tm = *localtime(&t);
-#if HAVE_GETTIMEOFDAY
if (debug)
{
char *s;
@@ -64,7 +63,6 @@ static Anope::string GetTimeStamp()
strftime(s, sizeof(tbuf) - (s - tbuf) - 1, " %Y]", &tm);
}
else
-#endif
strftime(tbuf, sizeof(tbuf) - 1, "[%b %d %H:%M:%S %Y]", &tm);
return tbuf;