diff options
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_sqllog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index ce4b23cb4..baa138f88 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -25,7 +25,6 @@ static Module* SQLModule; static Module* MyMod; static std::string dbid; -extern time_t TIME; enum LogTypes { LT_OPER = 1, LT_KILL, LT_SERVLINK, LT_XLINE, LT_CONNECT, LT_DISCONNECT, LT_FLOOD, LT_LOADMODULE }; @@ -57,7 +56,7 @@ class QueryInfo id = i; category = cat; sourceid = nickid = hostid = -1; - date = TIME; + date = time(NULL); lastquery = ""; } |