mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Remove incorrect MutexAutoLock
The line declared a variable "m_con" instead of locking m_con. getClient() doesn't need this anyway, so remove it.
This commit is contained in:
parent
0b5c5499ec
commit
5c9983400f
@ -309,11 +309,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
|
||||
// Send media announcement
|
||||
sendMediaAnnouncement(pkt->getPeerId(), lang);
|
||||
|
||||
RemoteClient *client;
|
||||
{
|
||||
MutexAutoLock(m_con);
|
||||
client = getClient(pkt->getPeerId(), CS_InitDone);
|
||||
}
|
||||
RemoteClient *client = getClient(pkt->getPeerId(), CS_InitDone);
|
||||
|
||||
// Send active objects
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user