Selaa lähdekoodia

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

Co-authored-by: Cody Robibero <cody@robibe.ro>
BaronGreenback 5 vuotta sitten
vanhempi
sitoutus
1d86084653
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;
                 }
 
-                if (Array.IndexOf(subnets, "[" + i.ToString() + "]") == -1)
+                if (Array.IndexOf(subnets, $"[{i}]") == -1)
                 {
                     listClone.Add(i);
                 }