From fedf1e954a21f3aae6d7ffc618c8405aff85a136 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 18 Nov 2025 19:16:46 -0300 Subject: a few adjustments --- src/connections.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/connections.cc') diff --git a/src/connections.cc b/src/connections.cc index 774a21d..548b073 100644 --- a/src/connections.cc +++ b/src/connections.cc @@ -135,8 +135,8 @@ static TConnection *AssignConnection(int Socket, uint32 Addr, uint16 Port){ "%d.%d.%d.%d:%d", ((Connection->IPAddress >> 24) & 0xFF), ((Connection->IPAddress >> 16) & 0xFF), - ((Connection->IPAddress >> 8) & 0xFF), - ((Connection->IPAddress >> 0) & 0xFF), + ((Connection->IPAddress >> 8) & 0xFF), + ((Connection->IPAddress >> 0) & 0xFF), (int)Port); LOG("Connection %s assigned to slot %d", Connection->RemoteAddress, ConnectionIndex); @@ -577,8 +577,8 @@ void ProcessLoginRequest(TConnection *Connection){ StringBufFormat(IPString, "%d.%d.%d.%d", ((Connection->IPAddress >> 24) & 0xFF), ((Connection->IPAddress >> 16) & 0xFF), - ((Connection->IPAddress >> 8) & 0xFF), - ((Connection->IPAddress >> 0) & 0xFF)); + ((Connection->IPAddress >> 8) & 0xFF), + ((Connection->IPAddress >> 0) & 0xFF)); int NumCharacters = 0; int PremiumDays = 0; -- cgit v1.2.3