]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_mysql.cpp
Whoops, schoolboy error
[user/henk/code/inspircd.git] / src / modules / extra / m_mysql.cpp
index 60a2edbcaf6ff9159502798d2728400ed9546e5d..cc4a52655ce4b2e6a95496ce5f7c742cc906f522 100644 (file)
@@ -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);