From ca8a2cad539e4868de16adb50bd7cae2de8d8af7 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 16 Nov 2008 18:53:17 +0000 Subject: Fix 2 bugs in the message transfer module, thanks, Homer Horwitz! --- .../Modules/Avatar/InstantMessage/MessageTransferModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Modules') diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs index d1543a0..7c90a64 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/MessageTransferModule.cs @@ -56,14 +56,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage if (config.Configs["Messaging"] != null) { IConfig cnf = config.Configs["Messaging"]; - if (cnf == null || cnf.GetString( + if (cnf != null && cnf.GetString( "MessageTransferModule", "MessageTransferModule") != "MessageTransferModule") return; cnf = config.Configs["Startup"]; if (cnf != null) - m_Gridmode = cnf.GetBoolean("m_Gridmode", false); + m_Gridmode = cnf.GetBoolean("gridmode", false); m_Enabled = true; } -- cgit v1.1