diff options
author | Melanie Thielker | 2008-11-17 08:15:43 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-17 08:15:43 +0000 |
commit | bb936d8a2f7fda48a6487691586f8316291e47db (patch) | |
tree | 3f4e8c35d642161f771dc2ced5a9898071557c91 /OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs | |
parent | Make object chat come from the root prim's center, rather than trying to make (diff) | |
download | opensim-SC-bb936d8a2f7fda48a6487691586f8316291e47db.zip opensim-SC-bb936d8a2f7fda48a6487691586f8316291e47db.tar.gz opensim-SC-bb936d8a2f7fda48a6487691586f8316291e47db.tar.bz2 opensim-SC-bb936d8a2f7fda48a6487691586f8316291e47db.tar.xz |
Correct prim counts for group land. Correct MessageTransferModule startup
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs | 21 |
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 | { |