Fix 2 bugs in the message transfer module, thanks, Homer Horwitz!

0.6.1-post-fixes
Melanie Thielker 2008-11-16 18:53:17 +00:00
parent e46719e8f1
commit ca8a2cad53
1 changed files with 2 additions and 2 deletions

View File

@ -56,14 +56,14 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
if (config.Configs["Messaging"] != null) if (config.Configs["Messaging"] != null)
{ {
IConfig cnf = config.Configs["Messaging"]; IConfig cnf = config.Configs["Messaging"];
if (cnf == null || cnf.GetString( if (cnf != null && cnf.GetString(
"MessageTransferModule", "MessageTransferModule") != "MessageTransferModule", "MessageTransferModule") !=
"MessageTransferModule") "MessageTransferModule")
return; return;
cnf = config.Configs["Startup"]; cnf = config.Configs["Startup"];
if (cnf != null) if (cnf != null)
m_Gridmode = cnf.GetBoolean("m_Gridmode", false); m_Gridmode = cnf.GetBoolean("gridmode", false);
m_Enabled = true; m_Enabled = true;
} }