summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-14 20:35:32 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-14 20:35:32 +0000
commit8e58381e71f15ce4a8d6f0e2492fd798a1cdd2bd (patch)
tree556fb6f2d8e36847ec0c1358971c55341d29e95c /src
parentbbcac6c076197b8d6857651b66b6e32a6aa33f47 (diff)
Make REHASH work.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6335 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_sqlite3.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 44007ea55..b2813e954 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -386,6 +386,7 @@ class SQLConn : public classbase
{
sqlite3_interrupt(conn);
sqlite3_close(conn);
+ Instance->Log(DEBUG, "Closed sqlite DB: " + host.host);
}
SQLhost GetConfHost()
@@ -503,7 +504,7 @@ class ModuleSQLite3 : public Module
void Implements(char* List)
{
- List[I_OnRequest] = List[I_OnRequest] = 1;
+ List[I_OnRequest] = List[I_OnRehash] = 1;
}
void SendQueue()