From 0d1c61364b87a171e1cc2c241e335a744ca8599b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 15 Nov 2026 14:47:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Skip=20unauthenticated=20sockets?= =?UTF-8?q?=20in=20region=20update=20notifications?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Region change notifications dereferenced the account of every socket, crashing on connections that had not logged in. --- Server/UAdminHandling.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/UAdminHandling.pas b/Server/UAdminHandling.pas index ab96caf..4247f58 100644 --- a/Server/UAdminHandling.pas +++ b/Server/UAdminHandling.pas @@ -279,7 +279,7 @@ begin while CEDServerInstance.TCPServer.IterNext do begin netState := TNetState(CEDServerInstance.TCPServer.Iterator.UserData); - if netState <> nil then + if (netState <> nil) and (netState.Account <> nil) then begin account := netState.Account; i := 0;