We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5c549 commit 5c99834Copy full SHA for 5c99834
src/network/serverpackethandler.cpp
@@ -309,11 +309,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
309
// Send media announcement
310
sendMediaAnnouncement(pkt->getPeerId(), lang);
311
312
- RemoteClient *client;
313
- {
314
- MutexAutoLock(m_con);
315
- client = getClient(pkt->getPeerId(), CS_InitDone);
316
- }
+ RemoteClient *client = getClient(pkt->getPeerId(), CS_InitDone);
317
318
// Send active objects
319
{
0 commit comments