Permalink
Browse files

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

  • Loading branch information...
2 parents d5cd601 + 0e3b08f commit 8730dc9d6a9ecd7f11f56fe41aeafa7a981a5c54 @radams1 radams1 committed Aug 3, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
View
8 OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -66,11 +66,11 @@ public void Initialise(Scene scene, IConfigSource config)
scene.RegisterModuleInterface<IAvatarFactoryModule>(this);
scene.EventManager.OnNewClient += SubscribeToClientEvents;
- IConfig sconfig = config.Configs["Startup"];
- if (sconfig != null)
+ IConfig appearanceConfig = appearanceConfig.Configs["Appearance"];
+ if (appearanceConfig != null)
{
- m_savetime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSave",Convert.ToString(m_savetime)));
- m_sendtime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSend",Convert.ToString(m_sendtime)));
+ m_savetime = Convert.ToInt32(appearanceConfig.GetString("DelayBeforeAppearanceSave",Convert.ToString(m_savetime)));
+ m_sendtime = Convert.ToInt32(appearanceConfig.GetString("DelayBeforeAppearanceSend",Convert.ToString(m_sendtime)));
// m_log.InfoFormat("[AVFACTORY] configured for {0} save and {1} send",m_savetime,m_sendtime);
}

0 comments on commit 8730dc9

Please sign in to comment.