no need to assign result to GetMethodInfoFromType

This commit is contained in:
SignpostMarv
2012-08-31 12:59:07 +01:00
committed by Melanie
parent 05648c2c4a
commit 7a9eee8538

View File

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