aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs5
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)