From 3cc879f8dd58f4801a1b85392fb00b449cdc7003 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 9 Sep 2008 10:50:09 +0000 Subject: fix compile errors (whoops) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10488 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index cc4a52655..7edf602e6 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -823,7 +823,7 @@ const char* ModuleSQL::OnRequest(Request* request) const char* returnval = NULL; - Parent->ConnMutex->Lock(); + ConnMutex->Lock(); if((iter = Connections.find(req->dbid)) != Connections.end()) { req->id = NewID(); @@ -835,7 +835,7 @@ const char* ModuleSQL::OnRequest(Request* request) req->error.Id(SQL_BAD_DBID); } - Parent->ConnMutex->Unlock(); + ConnMutex->Unlock(); QueueMutex->Unlock(); return returnval; -- cgit v1.2.3