diff options
author | Melanie Thielker | 2008-09-24 02:58:05 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-24 02:58:05 +0000 |
commit | 218902bedc7f430c8401426a1cee373bfc0b5485 (patch) | |
tree | dea8a685e3663c50013c220a120bd20f7aba7e7a /OpenSim/Region/Environment/Modules | |
parent | Update svn properties, formatting cleanup. (diff) | |
download | opensim-SC-218902bedc7f430c8401426a1cee373bfc0b5485.zip opensim-SC-218902bedc7f430c8401426a1cee373bfc0b5485.tar.gz opensim-SC-218902bedc7f430c8401426a1cee373bfc0b5485.tar.bz2 opensim-SC-218902bedc7f430c8401426a1cee373bfc0b5485.tar.xz |
Decouple AsyncCommands from XEngine and the script instance. Make
all methods needed outside the API ststic. Async command processing
is now wholly internal to the API. This sets the stage for the next
convergence step.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs index 3132eb7..6a7b622 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs | |||
@@ -113,6 +113,9 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat | |||
113 | if (c.Channel == DEBUG_CHANNEL) | 113 | if (c.Channel == DEBUG_CHANNEL) |
114 | c.Type = ChatTypeEnum.DebugChannel; | 114 | c.Type = ChatTypeEnum.DebugChannel; |
115 | 115 | ||
116 | if (c.Message.Length > 1100) | ||
117 | c.Message = c.Message.Substring(0, 1000); | ||
118 | |||
116 | // chat works by redistributing every incoming chat | 119 | // chat works by redistributing every incoming chat |
117 | // message to each avatar in the scene | 120 | // message to each avatar in the scene |
118 | Vector3 pos = new Vector3(128, 128, 30); | 121 | Vector3 pos = new Vector3(128, 128, 30); |