mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
let samplemoneymodule see EconomyModule config setting
This commit is contained in:
@@ -251,10 +251,14 @@ namespace OpenSim.Region.OptionalModules.World.MoneyModule
|
||||
if(String.IsNullOrEmpty(mmodule))
|
||||
{
|
||||
if(economyConfig != null)
|
||||
mmodule = economyConfig.GetString("economymodule","");
|
||||
{
|
||||
mmodule = economyConfig.GetString("economymodule", "");
|
||||
if (String.IsNullOrEmpty(mmodule))
|
||||
mmodule = economyConfig.GetString("EconomyModule", "");
|
||||
}
|
||||
}
|
||||
|
||||
if(!String.IsNullOrEmpty(mmodule) && mmodule != Name)
|
||||
if (!String.IsNullOrEmpty(mmodule) && mmodule != Name)
|
||||
{
|
||||
// some other money module selected
|
||||
m_enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user