cosmetics

This commit is contained in:
UbitUmarov
2023-02-01 19:14:54 +00:00
parent b327224b74
commit e2d71afc10
5 changed files with 110 additions and 140 deletions

View File

@@ -123,7 +123,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
public void OnRequestOnlineNotification(Object sender, string method, List<String> args)
{
if (!(sender is IClientAPI))
if (sender is not IClientAPI)
return;
IClientAPI client = (IClientAPI)sender;
@@ -131,8 +131,8 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
PresenceInfo[] status = PresenceService.GetAgents(args.ToArray());
List<UUID> online = new List<UUID>();
List<UUID> offline = new List<UUID>();
List<UUID> online = new();
List<UUID> offline = new();
foreach (PresenceInfo pi in status)
{