aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs
index f98633f..1493e32 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs
@@ -161,6 +161,9 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
161 string message = e.Message; 161 string message = e.Message;
162 LLUUID fromID = e.SenderUUID; 162 LLUUID fromID = e.SenderUUID;
163 163
164 if(message.Length >= 1000) // libomv limit
165 message = message.Substring(0, 1000);
166
164 if (e.Sender != null) 167 if (e.Sender != null)
165 { 168 {
166 avatar = scene.GetScenePresence(e.Sender.AgentId); 169 avatar = scene.GetScenePresence(e.Sender.AgentId);
@@ -240,4 +243,4 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
240 fromAgentID,(byte)src,(byte)ChatAudibleLevel.Fully); 243 fromAgentID,(byte)src,(byte)ChatAudibleLevel.Fully);
241 } 244 }
242 } 245 }
243} \ No newline at end of file 246}