mirror of
git://opensimulator.org/git/opensim
synced 2026-08-15 09:32:16 +00:00
no need to assign result to GetMethodInfoFromType
This commit is contained in:
+1
-3
@@ -132,10 +132,8 @@ namespace OpenSim.Region.OptionalModules.Scripting.ScriptModuleComms
|
||||
|
||||
private static MethodInfo GetMethodInfoFromType(Type target, string meth)
|
||||
{
|
||||
MethodInfo mi = target.GetMethod(meth,
|
||||
return target.GetMethod(meth,
|
||||
BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
|
||||
|
||||
return mi;
|
||||
}
|
||||
|
||||
public void RegisterScriptInvocation(object target, string meth)
|
||||
|
||||
Reference in New Issue
Block a user