diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs b/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs index 19130bd..d785a24 100644 --- a/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs +++ b/OpenSim/Region/OptionalModules/Scripting/ScriptModuleComms/ScriptModuleCommsModule.cs | |||
@@ -140,8 +140,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.ScriptModuleComms | |||
140 | else | 140 | else |
141 | getMethodFlags |= BindingFlags.Static; | 141 | getMethodFlags |= BindingFlags.Static; |
142 | 142 | ||
143 | return target.GetMethod(meth, | 143 | return target.GetMethod(meth, getMethodFlags); |
144 | getMethodFlags); | ||
145 | } | 144 | } |
146 | 145 | ||
147 | public void RegisterScriptInvocation(object target, string meth) | 146 | public void RegisterScriptInvocation(object target, string meth) |