aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorMelanie2011-10-11 23:15:17 +0100
committerMelanie2011-10-11 23:15:17 +0100
commitae67eb0a1fa6e26c6a9406c98f55b5acf9a354a2 (patch)
tree8a327899b8ce29ccdd0753d84f6eda88e8e730a5 /OpenSim/Region/CoreModules
parentMerge commit '844b4f3a168a5fb1c19902e1f230f24d677c152f' into bigmerge (diff)
parentminor: remove clutter null check from pass in config to AvatarFactoryModule.I... (diff)
downloadopensim-SC_OLD-ae67eb0a1fa6e26c6a9406c98f55b5acf9a354a2.zip
opensim-SC_OLD-ae67eb0a1fa6e26c6a9406c98f55b5acf9a354a2.tar.gz
opensim-SC_OLD-ae67eb0a1fa6e26c6a9406c98f55b5acf9a354a2.tar.bz2
opensim-SC_OLD-ae67eb0a1fa6e26c6a9406c98f55b5acf9a354a2.tar.xz
Merge commit '246443773ae52420092b483603d0e1daf9b87f00' into bigmerge
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
index 0cadd83..d4e1736 100644
--- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs
@@ -64,15 +64,12 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
64 scene.RegisterModuleInterface<IAvatarFactory>(this); 64 scene.RegisterModuleInterface<IAvatarFactory>(this);
65 scene.EventManager.OnNewClient += NewClient; 65 scene.EventManager.OnNewClient += NewClient;
66 66
67 if (config != null) 67 IConfig sconfig = config.Configs["Startup"];
68 if (sconfig != null)
68 { 69 {
69 IConfig sconfig = config.Configs["Startup"]; 70 m_savetime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSave",Convert.ToString(m_savetime)));
70 if (sconfig != null) 71 m_sendtime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSend",Convert.ToString(m_sendtime)));
71 { 72 // m_log.InfoFormat("[AVFACTORY] configured for {0} save and {1} send",m_savetime,m_sendtime);
72 m_savetime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSave",Convert.ToString(m_savetime)));
73 m_sendtime = Convert.ToInt32(sconfig.GetString("DelayBeforeAppearanceSend",Convert.ToString(m_sendtime)));
74 // m_log.InfoFormat("[AVFACTORY] configured for {0} save and {1} send",m_savetime,m_sendtime);
75 }
76 } 73 }
77 74
78 if (m_scene == null) 75 if (m_scene == null)