diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs index 4cf39b4..f09e631 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs | |||
@@ -61,10 +61,10 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
61 | /// How many seconds between re-reading config-file. 0 = never. ScriptEngine will try to adjust to new config changes. | 61 | /// How many seconds between re-reading config-file. 0 = never. ScriptEngine will try to adjust to new config changes. |
62 | /// </summary> | 62 | /// </summary> |
63 | public int RefreshConfigFileSeconds { | 63 | public int RefreshConfigFileSeconds { |
64 | get { return (int)(RefreshConfigFilens / 10000); } | 64 | get { return (int)(RefreshConfigFilens / 10000000); } |
65 | set { RefreshConfigFilens = value * 10000; } | 65 | set { RefreshConfigFilens = value * 10000000; } |
66 | } | 66 | } |
67 | public long RefreshConfigFilens = 0; | 67 | public long RefreshConfigFilens; |
68 | 68 | ||
69 | public ScriptManager GetScriptManager() | 69 | public ScriptManager GetScriptManager() |
70 | { | 70 | { |
@@ -131,9 +131,9 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
131 | } | 131 | } |
132 | public void ReadConfig() | 132 | public void ReadConfig() |
133 | { | 133 | { |
134 | #if DEBUG | 134 | //#if DEBUG |
135 | Log.Debug(ScriptEngineName, "Refreshing configuration for all modules"); | 135 | // Log.Debug(ScriptEngineName, "Refreshing configuration for all modules"); |
136 | #endif | 136 | //#endif |
137 | RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 30); | 137 | RefreshConfigFileSeconds = ScriptConfigSource.GetInt("RefreshConfig", 30); |
138 | 138 | ||
139 | // Reload from disk? No! | 139 | // Reload from disk? No! |