aboutsummaryrefslogtreecommitdiff
path: root/src/connections.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-11-18 19:16:46 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-11-18 19:16:46 -0300
commitfedf1e954a21f3aae6d7ffc618c8405aff85a136 (patch)
treea2197f2b89609fa8ac623e0d7ab9ef1421ac47da /src/connections.cc
parent62f4d9e4429bcfc3b8b30f8bf6d81656ed57721b (diff)
downloadlogin-fedf1e954a21f3aae6d7ffc618c8405aff85a136.tar.gz
login-fedf1e954a21f3aae6d7ffc618c8405aff85a136.zip
a few adjustments
Diffstat (limited to 'src/connections.cc')
-rw-r--r--src/connections.cc8
1 files changed, 4 insertions, 4 deletions
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;