aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking/Manager/NetworkManager.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-11-24 13:42:14 +0100
committercvium <clausvium@gmail.com>2021-11-24 13:42:14 +0100
commit0485ff189948e4c0b6532e835b9f6740e89d0d40 (patch)
tree870f1b925394d78047262966fcb20dcb4ab64c69 /Jellyfin.Networking/Manager/NetworkManager.cs
parent69df004b9f62cb65986607d659fde0dcc74004ab (diff)
Create a store key constant for network
Diffstat (limited to 'Jellyfin.Networking/Manager/NetworkManager.cs')
-rw-r--r--Jellyfin.Networking/Manager/NetworkManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Networking/Manager/NetworkManager.cs b/Jellyfin.Networking/Manager/NetworkManager.cs
index cf002dc73..58b30ad2d 100644
--- a/Jellyfin.Networking/Manager/NetworkManager.cs
+++ b/Jellyfin.Networking/Manager/NetworkManager.cs
@@ -727,7 +727,7 @@ namespace Jellyfin.Networking.Manager
private void ConfigurationUpdated(object? sender, ConfigurationUpdateEventArgs evt)
{
- if (evt.Key.Equals("network", StringComparison.Ordinal))
+ if (evt.Key.Equals(NetworkConfigurationStore.StoreKey, StringComparison.Ordinal))
{
UpdateSettings((NetworkConfiguration)evt.NewConfiguration);
}