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

File diff suppressed because it is too large Load Diff

View File

@@ -749,7 +749,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
LLUDPClient udpcli = this;
ThrottleOutPacketTypeFlags cats = categories;
Action<LLUDPClient, ThrottleOutPacketTypeFlags> act = delegate
void act(LLUDPClient arg1, ThrottleOutPacketTypeFlags arg2)
{
QueueEmpty callback = udpcli.OnQueueEmpty;
if (callback != null)
@@ -763,7 +763,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
udpcli.QueueEmptyRunning = false;
udpcli = null;
callback = null;
};
}
m_udpServer.OqrEngine.QueueJob(AgentID.ToString(), () => act(udpcli, cats));
}

View File

@@ -513,13 +513,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
public void AddScene(IScene scene)
{
if (Scene != null)
if (Scene is not null)
{
m_log.Error("[LLUDPSERVER]: AddScene() called on an LLUDPServer that already has a scene");
return;
}
if (!(scene is Scene))
if (scene is not OpenSim.Region.Framework.Scenes.Scene)
{
m_log.Error($"[LLUDPSERVER]: AddScene() called with an unrecognized scene type {scene.GetType()}");
return;