Experimental - add void return support to modSendCommand
parent
34bb2fd015
commit
1ef50fef44
|
@ -262,6 +262,8 @@ namespace OpenSim.Region.CoreModules.Scripting.ScriptModuleComms
|
|||
return "modInvokeR";
|
||||
else if (sid.ReturnType == typeof(object[]))
|
||||
return "modInvokeL";
|
||||
else if (sid.ReturnType == typeof(void))
|
||||
return "modInvokeN";
|
||||
|
||||
m_log.WarnFormat("[MODULE COMMANDS] failed to find match for {0} with return type {1}",fname,sid.ReturnType.Name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue