diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-23 18:48:42 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-23 18:48:42 +0000 |
commit | f9e6de5284aaacd55aa389445cd595bdcaa8339e (patch) | |
tree | a0fd4a21d17c5aa9d6a21c6b1e7e8022e25e6758 /src/modules/extra/m_mssql.cpp | |
parent | 7b6eae36661bc798f69b22393b85a4f06d533cf6 (diff) |
ThreadEngine: remove MutexFactory, mutexes should be constructed using their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_mssql.cpp')
-rw-r--r-- | src/modules/extra/m_mssql.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp index 7515570a9..0f1442e59 100644 --- a/src/modules/extra/m_mssql.cpp +++ b/src/modules/extra/m_mssql.cpp @@ -746,9 +746,9 @@ class ModuleMsSQL : public Module ModuleMsSQL(InspIRCd* Me) : Module(Me), currid(0) { - LoggingMutex = ServerInstance->Mutexes->CreateMutex(); - ResultsMutex = ServerInstance->Mutexes->CreateMutex(); - QueueMutex = ServerInstance->Mutexes->CreateMutex(); + LoggingMutex = new Mutex(); + ResultsMutex = new Mutex(); + QueueMutex = new Mutex(); ServerInstance->Modules->UseInterface("SQLutils"); |