summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqlite3.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-05 22:21:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-05 22:21:29 +0000
commit511ce8ba87df1cfb262b5809f3dab772595c4b0a (patch)
treec40085291a2cff3822a94f16955b56c4740982df /src/modules/extra/m_sqlite3.cpp
parent905a2c45a475f947ca28ce8909b563b4f69eeb28 (diff)
Fix SQL modules not all using AddService, noticed by Morpheus
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12595 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqlite3.cpp')
-rw-r--r--src/modules/extra/m_sqlite3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index e97e884ea..902355a23 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -452,6 +452,11 @@ class ModuleSQLite3 : public Module
ModuleSQLite3()
: currid(0), sqlserv(this, "SQL/sqlite", SERVICE_DATA)
{
+ }
+
+ void init()
+ {
+ ServerInstance->Modules->AddService(sqlserv);
ReadConf();