summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:43:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:43:49 +0000
commit4feb11647111b47df1af4d8484ad1d53d437a4b3 (patch)
treea47c66d3f63d7cdcd9318d3620473f99b0c2e48a /src/modules/extra
parent036505a11a1de613d42d2021704cc325289c1b04 (diff)
Somehow, IMPORTANT changes got reverted.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4885 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqllog.cpp3
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 = "";
}