Protect the scriptmodulecomms interface.

This commit is contained in:
Mic Bowman
2012-03-15 13:37:43 -07:00
parent 402ff75d78
commit 8b5298a62e

View File

@@ -876,7 +876,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
{
string retstr = String.Empty;
string modinvoke = m_comms.LookupModInvocation(fc.Id);
string modinvoke = null;
if (m_comms != null)
modinvoke = m_comms.LookupModInvocation(fc.Id);
if (modinvoke != null)
{
if (fc.kids[0] is ArgumentList)