mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
cosmetics
This commit is contained in:
@@ -524,8 +524,8 @@ namespace OpenSim
|
||||
{
|
||||
RegionInfo regionInfo = presence.Scene.RegionInfo;
|
||||
|
||||
if (presence.Firstname.ToLower().Equals(mainParams[2].ToLower()) &&
|
||||
presence.Lastname.ToLower().Equals(mainParams[3].ToLower()))
|
||||
if (presence.Firstname.Equals(mainParams[2], StringComparison.OrdinalIgnoreCase) &&
|
||||
presence.Lastname.Equals(mainParams[3],StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
MainConsole.Instance.Output(
|
||||
"Kicking user: {0,-16} {1,-16} {2,-37} in region: {3,-16}",
|
||||
|
||||
@@ -4180,7 +4180,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
an.Data = new AvatarNotesReplyPacket.DataBlock
|
||||
{
|
||||
TargetID = targetID,
|
||||
Notes = Utils.StringToBytes(text)
|
||||
Notes = Utils.StringToBytes(text, 1022)
|
||||
};
|
||||
|
||||
OutPacket(an, ThrottleOutPacketType.Task);
|
||||
|
||||
@@ -848,6 +848,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||
if (!ResolveGroupUuid(kvp.Value.GroupID))
|
||||
kvp.Value.GroupID = UUID.Zero;
|
||||
}
|
||||
|
||||
part.TaskInventory.LockItemsForRead(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,10 +29,8 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Net; // to be used for REST-->Grid shortly
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using log4net;
|
||||
using Nini.Config;
|
||||
using OpenMetaverse;
|
||||
|
||||
Reference in New Issue
Block a user