diff options
-rw-r--r-- | src/modules/extra/m_mysql.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 60a2edbca..cc4a52655 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -765,9 +765,9 @@ ModuleSQL::ModuleSQL(InspIRCd* Me) : Module(Me), rehashing(false) } else { - Parent->LoggingMutex->Lock(); + LoggingMutex->Lock(); ServerInstance->Logs->Log("m_mysql", DEBUG, "MySQL: Interthread comms port is %d", MessagePipe->GetPort()); - Parent->LoggingMutex->Unlock(); + LoggingMutex->Unlock(); } Dispatcher = new DispatcherThread(ServerInstance, this); |