aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-21 00:18:25 +0000
committerUbitUmarov2017-01-21 00:18:25 +0000
commitc0231fe1698bf82d4af837a3467296b5c3e2e99b (patch)
tree13747ce396e165f55064d38c7f5377edf380f0c9 /OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs
parentfix a null ref on jenkins (diff)
downloadopensim-SC-c0231fe1698bf82d4af837a3467296b5c3e2e99b.zip
opensim-SC-c0231fe1698bf82d4af837a3467296b5c3e2e99b.tar.gz
opensim-SC-c0231fe1698bf82d4af837a3467296b5c3e2e99b.tar.bz2
opensim-SC-c0231fe1698bf82d4af837a3467296b5c3e2e99b.tar.xz
Oops.. fix the null on the correct place.. jenkis may now fail for another reason
Diffstat (limited to 'OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs')
-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;