diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | 3 |
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 | } |