mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
Enable nullable reference types for MediaBrowser.Common
This commit is contained in:
@@ -17,7 +17,7 @@ namespace MediaBrowser.Common.Extensions
|
||||
{
|
||||
return (context.Connection.LocalIpAddress == null
|
||||
&& context.Connection.RemoteIpAddress == null)
|
||||
|| context.Connection.LocalIpAddress.Equals(context.Connection.RemoteIpAddress);
|
||||
|| Equals(context.Connection.LocalIpAddress, context.Connection.RemoteIpAddress);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user