Protect the scriptmodulecomms interface.

0.7.4.1
Mic Bowman 2012-03-15 13:37:43 -07:00
parent 402ff75d78
commit 8b5298a62e
1 changed files with 4 additions and 1 deletions

View File

@ -876,7 +876,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
{ {
string retstr = String.Empty; 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 (modinvoke != null)
{ {
if (fc.kids[0] is ArgumentList) if (fc.kids[0] is ArgumentList)