summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-13 15:09:20 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-13 15:09:20 +0200
commitb071a6acd805bde6119a66481768be13102d1c2b (patch)
tree262710810e684b688a72ce3ee7a6d2ca519e83b0 /src/modules
parent12027601cf4422366b0cef632ff0158c9410cc9a (diff)
Change allocation of InspIRCd::Threads to be physically part of the object containing it
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_ldap.cpp2
-rw-r--r--src/modules/extra/m_mssql.cpp2
-rw-r--r--src/modules/extra/m_mysql.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_ldap.cpp b/src/modules/extra/m_ldap.cpp
index d480a88f6..4666a86a2 100644
--- a/src/modules/extra/m_ldap.cpp
+++ b/src/modules/extra/m_ldap.cpp
@@ -557,7 +557,7 @@ class ModuleLDAP : public Module
conns[id] = conn;
ServerInstance->Modules->AddService(*conn);
- ServerInstance->Threads->Start(conn);
+ ServerInstance->Threads.Start(conn);
}
else
{
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp
index 8f8fe080f..8fc605df9 100644
--- a/src/modules/extra/m_mssql.cpp
+++ b/src/modules/extra/m_mssql.cpp
@@ -655,7 +655,7 @@ class ModuleMsSQL : public Module
{
ReadConf();
- ServerInstance->Threads->Start(queryDispatcher);
+ ServerInstance->Threads.Start(queryDispatcher);
}
~ModuleMsSQL()
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 3aed09416..fd1a83112 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -380,7 +380,7 @@ ModuleSQL::ModuleSQL()
void ModuleSQL::init()
{
Dispatcher = new DispatcherThread(this);
- ServerInstance->Threads->Start(Dispatcher);
+ ServerInstance->Threads.Start(Dispatcher);
}
ModuleSQL::~ModuleSQL()