diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/serverpackethandler.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index ecaf2a2a8..a642f4a6e 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -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 { |