mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
update references from IP to ListenAddress
This commit is contained in:
@ -1242,7 +1242,7 @@ namespace SharedLibraryCore
|
||||
|
||||
var serverConfig = appConfig.Servers?
|
||||
.FirstOrDefault(configServer =>
|
||||
configServer.IPAddress == server.IP && configServer.Port == server.Port);
|
||||
configServer.IPAddress == server.ListenAddress && configServer.Port == server.ListenPort);
|
||||
|
||||
var allRules = appConfig.GlobalRules?.ToList() ?? new List<string>();
|
||||
if (serverConfig?.Rules != null)
|
||||
|
Reference in New Issue
Block a user