mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* 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:
@@ -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
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
|
||||
lock (m_scene)
|
||||
{
|
||||
m_scene.LandChannel = (ILandChannel) landChannel;
|
||||
m_scene.LandChannel = (ILandChannel)landChannel;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user