aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs21
1 files changed, 9 insertions, 12 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
index 67346ae..278af39 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs
@@ -53,20 +53,17 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
53 53
54 public void Initialise(Scene scene, IConfigSource config) 54 public void Initialise(Scene scene, IConfigSource config)
55 { 55 {
56 if (config.Configs["Messaging"] != null) 56 IConfig cnf = config.Configs["Messaging"];
57 { 57 if (cnf != null && cnf.GetString(
58 IConfig cnf = config.Configs["Messaging"]; 58 "MessageTransferModule", "MessageTransferModule") !=
59 if (cnf != null && cnf.GetString( 59 "MessageTransferModule")
60 "MessageTransferModule", "MessageTransferModule") != 60 return;
61 "MessageTransferModule")
62 return;
63 61
64 cnf = config.Configs["Startup"]; 62 cnf = config.Configs["Startup"];
65 if (cnf != null) 63 if (cnf != null)
66 m_Gridmode = cnf.GetBoolean("gridmode", false); 64 m_Gridmode = cnf.GetBoolean("gridmode", false);
67 65
68 m_Enabled = true; 66 m_Enabled = true;
69 }
70 67
71 lock (m_Scenes) 68 lock (m_Scenes)
72 { 69 {