* Replace some string to byte conversions for object/item name/description fields with the LLUtil function that prevents the max string size from being breached

This commit is contained in:
Justin Clarke Casey
2009-03-05 19:32:27 +00:00
parent 0de34e9a18
commit 6c735e0828
5 changed files with 33 additions and 26 deletions

View File

@@ -81,9 +81,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
}
}
m_log.InfoFormat("[CHAT] initialized for {0} w:{1} s:{2} S:{3}", scene.RegionInfo.RegionName,
m_log.InfoFormat("[CHAT]: Initialized for {0} w:{1} s:{2} S:{3}", scene.RegionInfo.RegionName,
m_whisperdistance, m_saydistance, m_shoutdistance);
}
public virtual void PostInitialise()
{
}
@@ -199,8 +200,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat
}
}
static private Vector3 CenterOfRegion = new Vector3(128, 128, 30);
public virtual void OnChatBroadcast(Object sender, OSChatMessage c)
{
// unless the chat to be broadcast is of type Region, we

View File

@@ -101,7 +101,7 @@ namespace OpenSim.Region.CoreModules.World.Land
lock (m_scene)
{
m_scene.LandChannel = (ILandChannel) landChannel;
m_scene.LandChannel = (ILandChannel)landChannel;
}
}