fix бага с настройками почты

This commit is contained in:
2025-01-23 17:40:52 +03:00
parent 6c0c103804
commit 94208ec25c
9 changed files with 25 additions and 40 deletions

View File

@@ -79,7 +79,7 @@ public class MachineProcess extends DBObject {
boolean local = false;
try {
InetAddress address = InetAddress.getByName(machineAddress);
InetAddress localAddress = InetAddress.getByName(Global.normalProperties.ServerAddress);
InetAddress localAddress = InetAddress.getByName(Constants.ServerAddress);
local = localAddress.getHostAddress().equals(address.getHostAddress());
} catch (Exception ex) {
Utils_.MainLog.PrintException(ex);