aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs b/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
index 744e260..635df96 100644
--- a/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
+++ b/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
@@ -165,9 +165,10 @@ namespace OpenSim.Region.OptionalModules
165 165
166 string response = DoCommonChecks(objectCount, sog.OwnerID, newParcel, scene); 166 string response = DoCommonChecks(objectCount, sog.OwnerID, newParcel, scene);
167 167
168 if (response != null && m_dialogModule != null) 168 if (response != null)
169 { 169 {
170 m_dialogModule.SendAlertToUser(sog.OwnerID, response); 170 if(m_dialogModule != null)
171 m_dialogModule.SendAlertToUser(sog.OwnerID, response);
171 return false; 172 return false;
172 } 173 }
173 return true; 174 return true;