X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fextra%2Fm_mysql.cpp;h=cc4a52655ce4b2e6a95496ce5f7c742cc906f522;hb=123bf690976784fa91263d23d51ed461ac389211;hp=60a2edbcaf6ff9159502798d2728400ed9546e5d;hpb=4453eeac80c09e70ecafeff02e9c5c40be4b0f0a;p=user%2Fhenk%2Fcode%2Finspircd.git 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);