summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_mssql.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_mssql.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_mssql.cpp')
-rw-r--r--src/modules/extra/m_mssql.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp
index 2e5dc8b7b..7561fb2d8 100644
--- a/src/modules/extra/m_mssql.cpp
+++ b/src/modules/extra/m_mssql.cpp
@@ -644,10 +644,13 @@ class ModuleMsSQL : public Module
{
LoggingMutex = new Mutex();
ResultsMutex = new Mutex();
+ queryDispatcher = new QueryThread(this);
+ }
+ void init()
+ {
ReadConf();
- queryDispatcher = new QueryThread(this);
ServerInstance->Threads->Start(queryDispatcher);
Implementation eventlist[] = { I_OnRehash };