aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
index 9601ffc..335bc19 100644
--- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
@@ -80,7 +80,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
80 } 80 }
81 else 81 else
82 { 82 {
83 m_dialogModule.SendAlertToUser(agentID, "Request for god powers denied"); 83 if (m_dialogModule != null)
84 m_dialogModule.SendAlertToUser(agentID, "Request for god powers denied");
84 } 85 }
85 } 86 }
86 } 87 }