Skip to content

Commit

Permalink
Add a log message on intiialization indicating wether the Gloebit Non…
Browse files Browse the repository at this point in the history
…ey Module is enabled or disabled. Debug Aid.
  • Loading branch information
mdickson committed Jul 21, 2023
1 parent 4a1122e commit a2eb2d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,11 @@ public void Initialise(IConfigSource config)
if ((string.IsNullOrEmpty(mmodule) == false) && ((mmodule == Name) || (mmodule == "Gloebit")))
{
m_enabled = true;
m_log.InfoFormat("[GLOEBITMONEYMODULE]: The Gloebit MoneyModule is enabled");
}
else
{
// some other money module selected
m_log.InfoFormat("[GLOEBITMONEYMODULE]: The Gloebit MoneyModule is disabled (not selected in OpenSim.ini)");
m_enabled = false;
return;
}
Expand Down

0 comments on commit a2eb2d8

Please sign in to comment.