diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs index d2cd163..77dfcc6 100644 --- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | |||
@@ -76,7 +76,9 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
76 | private Dictionary<string, UrlData> m_UrlMap = | 76 | private Dictionary<string, UrlData> m_UrlMap = |
77 | new Dictionary<string, UrlData>(); | 77 | new Dictionary<string, UrlData>(); |
78 | 78 | ||
79 | 79 | /// <summary> | |
80 | /// Maximum number of external urls that can be set up by this module. | ||
81 | /// </summary> | ||
80 | private int m_TotalUrls = 100; | 82 | private int m_TotalUrls = 100; |
81 | 83 | ||
82 | private uint https_port = 0; | 84 | private uint https_port = 0; |
@@ -107,6 +109,11 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp | |||
107 | { | 109 | { |
108 | https_port = (uint) config.Configs["Network"].GetInt("https_port",0); | 110 | https_port = (uint) config.Configs["Network"].GetInt("https_port",0); |
109 | } | 111 | } |
112 | |||
113 | IConfig llFunctionsConfig = config.Configs["LL-Functions"]; | ||
114 | |||
115 | if (llFunctionsConfig != null) | ||
116 | m_TotalUrls = llFunctionsConfig.GetInt("max_urls_per_simulator", m_TotalUrls); | ||
110 | } | 117 | } |
111 | 118 | ||
112 | public void PostInitialise() | 119 | public void PostInitialise() |