mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 22:45:15 -04:00
[Master] Update server via operator= instead map::insert
This commit is contained in:
parent
b677a0455d
commit
d40a55a748
@ -138,7 +138,7 @@ void MasterServer::Thread()
|
||||
else if (pma.GetFunc() == PacketMasterAnnounce::FUNCTION_ANNOUNCE)
|
||||
{
|
||||
cout << "Updated";
|
||||
iter = servers.insert({packet->systemAddress, server}).first;
|
||||
iter->second = server;
|
||||
keepAliveFunc();
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user