From 8e58381e71f15ce4a8d6f0e2492fd798a1cdd2bd Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 14 Jan 2007 20:35:32 +0000 Subject: Make REHASH work. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6335 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlite3.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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() -- cgit v1.2.3