diff options
author | Mic Bowman | 2012-03-15 13:37:43 -0700 |
---|---|---|
committer | Mic Bowman | 2012-03-15 13:37:43 -0700 |
commit | 8b5298a62eb6910ac228b3fe0ab328b6aea79794 (patch) | |
tree | 932cf594a6469eff3ba211ceb92c2418ba15a2fd /OpenSim/Region | |
parent | Adds a new script command 'modInvoke' to invoke registered functions (diff) | |
download | opensim-SC_OLD-8b5298a62eb6910ac228b3fe0ab328b6aea79794.zip opensim-SC_OLD-8b5298a62eb6910ac228b3fe0ab328b6aea79794.tar.gz opensim-SC_OLD-8b5298a62eb6910ac228b3fe0ab328b6aea79794.tar.bz2 opensim-SC_OLD-8b5298a62eb6910ac228b3fe0ab328b6aea79794.tar.xz |
Protect the scriptmodulecomms interface.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs index 28c031f..b24f016 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | |||
@@ -876,7 +876,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
876 | { | 876 | { |
877 | string retstr = String.Empty; | 877 | string retstr = String.Empty; |
878 | 878 | ||
879 | string modinvoke = m_comms.LookupModInvocation(fc.Id); | 879 | string modinvoke = null; |
880 | if (m_comms != null) | ||
881 | modinvoke = m_comms.LookupModInvocation(fc.Id); | ||
882 | |||
880 | if (modinvoke != null) | 883 | if (modinvoke != null) |
881 | { | 884 | { |
882 | if (fc.kids[0] is ArgumentList) | 885 | if (fc.kids[0] is ArgumentList) |