aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorSignpostMarv2012-08-31 13:01:07 +0100
committerMelanie2012-08-31 14:32:32 +0100
commitbcf944db4846b42a302e443050132aaea4b4d4d6 (patch)
tree9470b5260de4f5c13d256bf715ad3038a296f2a3 /OpenSim
parentno need to assign result to GetMethodInfoFromType (diff)
downloadopensim-SC_OLD-bcf944db4846b42a302e443050132aaea4b4d4d6.zip
opensim-SC_OLD-bcf944db4846b42a302e443050132aaea4b4d4d6.tar.gz
opensim-SC_OLD-bcf944db4846b42a302e443050132aaea4b4d4d6.tar.bz2
opensim-SC_OLD-bcf944db4846b42a302e443050132aaea4b4d4d6.tar.xz
assign binding flags to variable
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs b/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs
index bbf0dac..50d04cd 100644
--- a/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs
@@ -132,8 +132,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.ScriptModuleComms
132 132
133 private static MethodInfo GetMethodInfoFromType(Type target, string meth) 133 private static MethodInfo GetMethodInfoFromType(Type target, string meth)
134 { 134 {
135 BindingFlags getMethodFlags =
136 BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance;
135 return target.GetMethod(meth, 137 return target.GetMethod(meth,
136 BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance); 138 getMethodFlags);
137 } 139 }
138 140
139 public void RegisterScriptInvocation(object target, string meth) 141 public void RegisterScriptInvocation(object target, string meth)