Clear xuids before connecting
This commit is contained in:
parent
6c07d84e23
commit
fa144b7dd6
@ -135,6 +135,11 @@ namespace auth
|
|||||||
|
|
||||||
int send_connect_data_stub(const game::netsrc_t sock, game::netadr_t* adr, const char* data, const int len)
|
int send_connect_data_stub(const game::netsrc_t sock, game::netadr_t* adr, const char* data, const int len)
|
||||||
{
|
{
|
||||||
|
for (auto& xuid : client_xuids)
|
||||||
|
{
|
||||||
|
xuid = 0;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
const auto is_connect_sequence = len >= 7 && strncmp("connect", data, 7) == 0;
|
const auto is_connect_sequence = len >= 7 && strncmp("connect", data, 7) == 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user