mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add some missing default group owner powers on xmlrpc groups module
plus more dotnet6 code style changes
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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));
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user