diff options
author | Melanie | 2013-03-03 20:30:59 +0100 |
---|---|---|
committer | Melanie | 2013-03-03 20:30:59 +0100 |
commit | 1ef50fef44e4e4df60c00ed7070ab78e076afffb (patch) | |
tree | 2a0723db5c02bb06b55bc7223fcf4f26cceedb7f /OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | |
parent | Make Keyframe motion cross regions again (diff) | |
download | opensim-SC-1ef50fef44e4e4df60c00ed7070ab78e076afffb.zip opensim-SC-1ef50fef44e4e4df60c00ed7070ab78e076afffb.tar.gz opensim-SC-1ef50fef44e4e4df60c00ed7070ab78e076afffb.tar.bz2 opensim-SC-1ef50fef44e4e4df60c00ed7070ab78e076afffb.tar.xz |
Experimental - add void return support to modSendCommand
Diffstat (limited to 'OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs b/OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs index f6e1d39..f697c24 100644 --- a/OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | |||
@@ -262,6 +262,8 @@ namespace OpenSim.Region.CoreModules.Scripting.ScriptModuleComms | |||
262 | return "modInvokeR"; | 262 | return "modInvokeR"; |
263 | else if (sid.ReturnType == typeof(object[])) | 263 | else if (sid.ReturnType == typeof(object[])) |
264 | return "modInvokeL"; | 264 | return "modInvokeL"; |
265 | else if (sid.ReturnType == typeof(void)) | ||
266 | return "modInvokeN"; | ||
265 | 267 | ||
266 | m_log.WarnFormat("[MODULE COMMANDS] failed to find match for {0} with return type {1}",fname,sid.ReturnType.Name); | 268 | m_log.WarnFormat("[MODULE COMMANDS] failed to find match for {0} with return type {1}",fname,sid.ReturnType.Name); |
267 | } | 269 | } |