mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
fix compile errors (whoops)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10488 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
123bf69097
commit
3cc879f8dd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user