Fix 2 bugs in the message transfer module, thanks, Homer Horwitz!
parent
e46719e8f1
commit
ca8a2cad53
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue