Explorar o código

Update Emby.Server.Implementations/Networking/NetworkManager.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback %!s(int64=5) %!d(string=hai) anos
pai
achega
1d86084653
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Emby.Server.Implementations/Networking/NetworkManager.cs

+ 1 - 1
Emby.Server.Implementations/Networking/NetworkManager.cs

@@ -296,7 +296,7 @@ namespace Emby.Server.Implementations.Networking
                     continue;
                     continue;
                 }
                 }
 
 
-                if (Array.IndexOf(subnets, "[" + i.ToString() + "]") == -1)
+                if (Array.IndexOf(subnets, $"[{i}]") == -1)
                 {
                 {
                     listClone.Add(i);
                     listClone.Add(i);
                 }
                 }