Experimental - add void return support to modSendCommand

This commit is contained in:
Melanie
2013-03-03 20:30:59 +01:00
parent 34bb2fd015
commit 1ef50fef44

View File

@@ -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);
}