flagflag  

Re: 0.7.5-rc1 Search and profile issues

List posts in the topic

なし Re: 0.7.5-rc1 Search and profile issues

msg# 1.2.1.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2013/1/21 0:25 | Last modified
iseki  Home away from home   Posts: 1581
I think this is bug of OpenSim.

Patch code is
--- opensim-/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs    2013-01-05 06:59:49.000000000 +0900
+++ opensim/OpenSim/Region/CoreModules/Avatar/Profile/BasicProfileModule.cs     2013-01-21 00:15:58.211259616 +0900
@@ -57,6 +57,18 @@
 
         public void Initialise(IConfigSource config)
         {
+            IConfig profileConfig = config.Configs["Profile"];
+
+            if (profileConfig != null)
+            {
+                string module_name = profileConfig.GetString("Module");
+                if (module_name != null && module_name != Name)
+                {
+                    m_Enabled = false;
+                    return;
+                }
+            }
+
             m_log.DebugFormat("[PROFILE MODULE]: Basic Profile Module enabled");
             m_Enabled = true;
         }

And now, my new module repository is http://www.nsl.tuis.ac.jp/svn/opensim/opensim.modules/trunk
Votes:56 Average:5.00

Posts tree

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

50 user(s) are online (1 user(s) are browsing Forum)

Members: 0
Guests: 50

more...

Access Counter

Today : 4215421542154215
Yesterday : 4372437243724372
Total : 2366572823665728236657282366572823665728236657282366572823665728
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com