diff options
author | Dan Lake | 2012-10-08 15:25:26 -0700 |
---|---|---|
committer | Dan Lake | 2012-10-08 15:25:26 -0700 |
commit | d342adaa8760ee7ada1b87dec1c8c415c9e77f73 (patch) | |
tree | a914c203322b761640450c7be06c54984b64494d /OpenSim/Server/ServerMain.cs | |
parent | Add bool to TriggerSceneObjectPartUpdated where full = true indicates a full ... (diff) | |
parent | Fix build break (diff) | |
download | opensim-SC-d342adaa8760ee7ada1b87dec1c8c415c9e77f73.zip opensim-SC-d342adaa8760ee7ada1b87dec1c8c415c9e77f73.tar.gz opensim-SC-d342adaa8760ee7ada1b87dec1c8c415c9e77f73.tar.bz2 opensim-SC-d342adaa8760ee7ada1b87dec1c8c415c9e77f73.tar.xz |
Merge branch 'master' of git://opensimulator.org/git/opensim
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Server/ServerMain.cs | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 21fb678..45c13fb 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs | |||
@@ -60,7 +60,25 @@ namespace OpenSim.Server | |||
60 | } | 60 | } |
61 | 61 | ||
62 | string connList = serverConfig.GetString("ServiceConnectors", String.Empty); | 62 | string connList = serverConfig.GetString("ServiceConnectors", String.Empty); |
63 | string[] conns = connList.Split(new char[] {',', ' '}); | 63 | |
64 | IConfig servicesConfig = m_Server.Config.Configs["ServiceList"]; | ||
65 | if (servicesConfig != null) | ||
66 | { | ||
67 | List<string> servicesList = new List<string>(); | ||
68 | if (connList != String.Empty) | ||
69 | servicesList.Add(connList); | ||
70 | |||
71 | foreach (string k in servicesConfig.GetKeys()) | ||
72 | { | ||
73 | string v = servicesConfig.GetString(k); | ||
74 | if (v != String.Empty) | ||
75 | servicesList.Add(v); | ||
76 | } | ||
77 | |||
78 | connList = String.Join(",", servicesList.ToArray()); | ||
79 | } | ||
80 | |||
81 | string[] conns = connList.Split(new char[] {',', ' ', '\n', '\r', '\t'}); | ||
64 | 82 | ||
65 | // int i = 0; | 83 | // int i = 0; |
66 | foreach (string c in conns) | 84 | foreach (string c in conns) |
@@ -130,4 +148,4 @@ namespace OpenSim.Server | |||
130 | return 0; | 148 | return 0; |
131 | } | 149 | } |
132 | } | 150 | } |
133 | } \ No newline at end of file | 151 | } |