diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs index 9eb8e27..56eb508 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/OfflineMessageModule.cs | |||
@@ -53,6 +53,11 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
53 | return; | 53 | return; |
54 | 54 | ||
55 | IConfig cnf = config.Configs["Messaging"]; | 55 | IConfig cnf = config.Configs["Messaging"]; |
56 | if (cnf == null) | ||
57 | { | ||
58 | enabled = false; | ||
59 | return; | ||
60 | } | ||
56 | if (cnf != null && cnf.GetString( | 61 | if (cnf != null && cnf.GetString( |
57 | "OfflineMessageModule", "None") != | 62 | "OfflineMessageModule", "None") != |
58 | "OfflineMessageModule") | 63 | "OfflineMessageModule") |