diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Sound/SoundModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs index 1db6519..513a8f5 100644 --- a/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs +++ b/OpenSim/Region/CoreModules/World/Sound/SoundModule.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | using System; | 27 | using System; |
28 | using System.IO; | ||
28 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
29 | using System.Reflection; | 30 | using System.Reflection; |
30 | 31 | ||
@@ -64,7 +65,9 @@ namespace OpenSim.Region.CoreModules.World.Sound | |||
64 | } | 65 | } |
65 | else | 66 | else |
66 | { | 67 | { |
67 | Enabled = config.GetString("Module", "SoundModule") == "SoundModule"; | 68 | Enabled = config.GetString("Module", "OpenSim.Region.CoreModules.dll:SoundModule") == |
69 | Path.GetFileName(Assembly.GetExecutingAssembly().Location) | ||
70 | + ":" + MethodBase.GetCurrentMethod().DeclaringType.Name; | ||
68 | MaxDistance = config.GetFloat("MaxDistance", 100.0f); | 71 | MaxDistance = config.GetFloat("MaxDistance", 100.0f); |
69 | } | 72 | } |
70 | } | 73 | } |