diff options
author | UbitUmarov | 2017-01-21 00:18:25 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-21 00:18:25 +0000 |
commit | c0231fe1698bf82d4af837a3467296b5c3e2e99b (patch) | |
tree | 13747ce396e165f55064d38c7f5377edf380f0c9 /OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs | |
parent | fix a null ref on jenkins (diff) | |
download | opensim-SC_OLD-c0231fe1698bf82d4af837a3467296b5c3e2e99b.zip opensim-SC_OLD-c0231fe1698bf82d4af837a3467296b5c3e2e99b.tar.gz opensim-SC_OLD-c0231fe1698bf82d4af837a3467296b5c3e2e99b.tar.bz2 opensim-SC_OLD-c0231fe1698bf82d4af837a3467296b5c3e2e99b.tar.xz |
Oops.. fix the null on the correct place.. jenkis may now fail for another reason
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/PrimLimitsModule/PrimLimitsModule.cs | 5 |
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; |