mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Cache client IP in RemoteClient so it can always be retrieved (#10887)
specifically: after the peer has already disappeared
This commit is contained in:
parent
6e0e0324a4
commit
112a6adb10
6 changed files with 83 additions and 98 deletions
|
@ -452,9 +452,6 @@ void RemoteClient::notifyEvent(ClientStateEvent event)
|
|||
case CSE_Hello:
|
||||
m_state = CS_HelloSent;
|
||||
break;
|
||||
case CSE_InitLegacy:
|
||||
m_state = CS_AwaitingInit2;
|
||||
break;
|
||||
case CSE_Disconnect:
|
||||
m_state = CS_Disconnecting;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue