Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of ssh://opensimulator.org/var/git/opensim

  • Loading branch information...
commit 8730dc9d6a9ecd7f11f56fe41aeafa7a981a5c54 2 parents d5cd601 + 0e3b08f
Robert Adams authored August 03, 2012
8  OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -66,11 +66,11 @@ public void Initialise(Scene scene, IConfigSource config)
66 66
             scene.RegisterModuleInterface<IAvatarFactoryModule>(this);
67 67
             scene.EventManager.OnNewClient += SubscribeToClientEvents;
68 68
 
69  
-            IConfig sconfig = config.Configs["Startup"];
70  
-            if (sconfig != null)
  69
+            IConfig appearanceConfig = appearanceConfig.Configs["Appearance"];
  70
+            if (appearanceConfig != null)
71 71
             {
72  
-                m_savetime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSave",Convert.ToString(m_savetime)));
73  
-                m_sendtime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSend",Convert.ToString(m_sendtime)));
  72
+                m_savetime = Convert.ToInt32(appearanceConfig.GetString("DelayBeforeAppearanceSave",Convert.ToString(m_savetime)));
  73
+                m_sendtime = Convert.ToInt32(appearanceConfig.GetString("DelayBeforeAppearanceSend",Convert.ToString(m_sendtime)));
74 74
                 // m_log.InfoFormat("[AVFACTORY] configured for {0} save and {1} send",m_savetime,m_sendtime);
75 75
             }
76 76
 

0 notes on commit 8730dc9

Please sign in to comment.
Something went wrong with that request. Please try again.