summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-09 10:50:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-09 10:50:09 +0000
commit3cc879f8dd58f4801a1b85392fb00b449cdc7003 (patch)
treeef5a982f9d47e208850801e002c202302fc608e9 /src/modules/extra/m_mysql.cpp
parent123bf690976784fa91263d23d51ed461ac389211 (diff)
fix compile errors (whoops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10488 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp4
1 files changed, 2 insertions, 2 deletions
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;