]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Whoops, schoolboy error
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 9 Sep 2008 10:28:38 +0000 (10:28 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 9 Sep 2008 10:28:38 +0000 (10:28 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10487 e03df62e-2008-0410-955e-edbf42e46eb7

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);