add some missing default group owner powers on xmlrpc groups module

plus more dotnet6 code style changes
This commit is contained in:
UbitUmarov
2022-10-28 20:06:45 +01:00
parent 496deb92d4
commit aa572df663
12 changed files with 806 additions and 961 deletions

View File

@@ -883,13 +883,10 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
/// </param>
public void PicksRequest(Object sender, string method, List<String> args)
{
if (!(sender is IClientAPI))
if (sender is not IClientAPI remoteClient)
return;
IClientAPI remoteClient = (IClientAPI)sender;
UUID targetId;
if(!UUID.TryParse(args[0], out targetId))
if(!UUID.TryParse(args[0], out UUID targetId))
return;
Dictionary<UUID, string> picks = new Dictionary<UUID, string>();