mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
replace incoerent UserAgentsService config
This commit is contained in:
@@ -58,18 +58,13 @@ namespace OpenSim.Services.Connectors.Hypergrid
|
||||
|
||||
public UserAgentServiceConnector(IConfigSource config)
|
||||
{
|
||||
IConfig serviceConfig = config.Configs["UserAgentService"];
|
||||
if (serviceConfig == null)
|
||||
{
|
||||
m_log.Error("[USER AGENT CONNECTOR]: UserAgentService missing from ini");
|
||||
throw new Exception("UserAgent connector init error");
|
||||
}
|
||||
GridInfo tmp = new GridInfo(config);
|
||||
|
||||
string serviceURI = serviceConfig.GetString("UserAgentServerURI", String.Empty);
|
||||
string serviceURI = tmp.HomeURL;
|
||||
|
||||
if (String.IsNullOrWhiteSpace(serviceURI))
|
||||
{
|
||||
m_log.Error("[USER AGENT CONNECTOR]: No Server URI named in section UserAgentService");
|
||||
m_log.Error("[USER AGENT CONNECTOR]: No Home URI named in configuration");
|
||||
throw new Exception("UserAgent connector init error");
|
||||
}
|
||||
|
||||
|
||||
@@ -221,13 +221,6 @@
|
||||
; User level required to be able to send friendship invitations to foreign users
|
||||
;LevelHGFriends = 0;
|
||||
|
||||
[UserAgentService]
|
||||
;
|
||||
; === HG ONLY ===
|
||||
; Change this to your user agent server (HG robust)
|
||||
;
|
||||
UserAgentServerURI = "${Const|BaseURL}:${Const|PublicPort}"
|
||||
|
||||
[MapImageService]
|
||||
MapImageServerURI = "${Const|PrivURL}:${Const|PrivatePort}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user