* Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.

* Add default information for other chat settings
0.6.3-post-fixes
Justin Clarke Casey 2009-02-02 17:27:23 +00:00
parent 6f9c1e3bcc
commit 176920f8d3
2 changed files with 11 additions and 3 deletions

View File

@ -170,7 +170,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
case ChatSourceType.Agent: case ChatSourceType.Agent:
if (!(scene is Scene)) if (!(scene is Scene))
{ {
m_log.WarnFormat("[CHAT] scene {0} is not a Scene object, cannot obtain scene presence for {1}", m_log.WarnFormat("[CHAT]: scene {0} is not a Scene object, cannot obtain scene presence for {1}",
scene.RegionInfo.RegionName, c.Sender.AgentId); scene.RegionInfo.RegionName, c.Sender.AgentId);
return; return;
} }
@ -191,7 +191,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
if (message.Length >= 1000) // libomv limit if (message.Length >= 1000) // libomv limit
message = message.Substring(0, 1000); message = message.Substring(0, 1000);
// m_log.DebugFormat("[CHAT] DCTA: fromID {0} fromName {1}, cType {2}, sType {3}", fromID, fromName, c.Type, sourceType); // m_log.DebugFormat("[CHAT]: DCTA: fromID {0} fromName {1}, cType {2}, sType {3}", fromID, fromName, c.Type, sourceType);
foreach (Scene s in m_scenes) foreach (Scene s in m_scenes)
{ {

View File

@ -296,8 +296,16 @@ InterregionComms = "RESTComms"
[Chat] [Chat]
; Controls whether the chat module is enabled. Default is true.
enabled = true;
; Distance in meters that whispers should travel. Default is 10m
whisper_distance = 10 whisper_distance = 10
; Distance in meters that ordinary chat should travel. Default is 30m
say_distance = 30 say_distance = 30
; Distance in meters that shouts should travel. Default is 100m
shout_distance = 100 shout_distance = 100
@ -988,4 +996,4 @@ InterregionComms = "RESTComms"
active_trees = false active_trees = false
; Density of tree population ; Density of tree population
tree_density = 1000.0 tree_density = 1000.0