diff options
author | SignpostMarv | 2012-08-31 13:10:17 +0100 |
---|---|---|
committer | Melanie | 2012-08-31 14:32:32 +0100 |
commit | 4c58c1b116d99b72d7c579f2bd2cc87d55b71451 (patch) | |
tree | c1383afa40b414e086003811e7bb4b904495f8de /OpenSim/Region/OptionalModules/Scripting | |
parent | adding support for finding static methods (diff) | |
download | opensim-SC_OLD-4c58c1b116d99b72d7c579f2bd2cc87d55b71451.zip opensim-SC_OLD-4c58c1b116d99b72d7c579f2bd2cc87d55b71451.tar.gz opensim-SC_OLD-4c58c1b116d99b72d7c579f2bd2cc87d55b71451.tar.bz2 opensim-SC_OLD-4c58c1b116d99b72d7c579f2bd2cc87d55b71451.tar.xz |
formatting
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) |