aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test
diff options
context:
space:
mode:
authorAdam Frisby2009-04-09 13:03:27 +0000
committerAdam Frisby2009-04-09 13:03:27 +0000
commit03984e7304df152f5b415e38c314e39b7a551dc7 (patch)
tree14ed1fde266ea01ea1eedbce9fb46eb88befe2a3 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Test
parent* Forgot to commit IEntity in last commit. (diff)
downloadopensim-SC-03984e7304df152f5b415e38c314e39b7a551dc7.zip
opensim-SC-03984e7304df152f5b415e38c314e39b7a551dc7.tar.gz
opensim-SC-03984e7304df152f5b415e38c314e39b7a551dc7.tar.bz2
opensim-SC-03984e7304df152f5b415e38c314e39b7a551dc7.tar.xz
* Added additional debug testing info to Scene
* Corrected issue with MRMs where it would attempt to overwrite an already loaded DLL. (and thus fail with cryptic UnauthorizedAccessException.) * Made DrunkenTextAppreciationModule.cs MRM not crash with StackOverflowException * Added some temporary logging to MRM World.*
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Test')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs
index 5b1841d..7e8db9c 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Test/DrunkenTextAppreciationModule.cs
@@ -38,11 +38,14 @@ namespace OpenSim
38 38
39 void World_OnChat(IWorld sender, ChatEventArgs e) 39 void World_OnChat(IWorld sender, ChatEventArgs e)
40 { 40 {
41 e.Text.Replace("s", "sh"); 41 if(!e.Text.Contains("hic!"))
42 e.Text.Replace("S", "Sh"); 42 {
43 e.Text += " ...hic!"; 43 e.Text = e.Text.Replace("s", "sh");
44 e.Text = e.Text.Replace("S", "Sh");
45 e.Text += " ...hic!";
44 46
45 Host.Object.Say(e.Text); 47 Host.Object.Say(e.Text);
48 }
46 } 49 }
47 50
48 public override void Stop() 51 public override void Stop()