mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: fix incorrect assignment on rcon socket bind
The assignment on the ternary operator should be flipped, bug was spotted during beta testing.
This commit is contained in:
parent
88bb1307be
commit
b201ca7a5b
@ -89,7 +89,7 @@ void CRConServer::Init(const char* pPassword, const char* pNetKey)
|
||||
return;
|
||||
}
|
||||
|
||||
const char* pszAddress = sv_rcon_useloopbacksocket.GetBool() ? NET_IPV6_UNSPEC : NET_IPV6_LOOPBACK;
|
||||
const char* pszAddress = sv_rcon_useloopbacksocket.GetBool() ? NET_IPV6_LOOPBACK : NET_IPV6_UNSPEC;
|
||||
|
||||
m_Address.SetFromString(Format("[%s]:%i", pszAddress, hostport->GetInt()).c_str(), true);
|
||||
m_Socket.CreateListenSocket(m_Address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user