diff options
Diffstat (limited to 'OpenSim/Grid/UserServer/MessageServersConnector.cs')
-rw-r--r-- | OpenSim/Grid/UserServer/MessageServersConnector.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Grid/UserServer/MessageServersConnector.cs b/OpenSim/Grid/UserServer/MessageServersConnector.cs index 251644b..6535247 100644 --- a/OpenSim/Grid/UserServer/MessageServersConnector.cs +++ b/OpenSim/Grid/UserServer/MessageServersConnector.cs | |||
@@ -119,7 +119,7 @@ namespace OpenSim.Grid.UserServer | |||
119 | 119 | ||
120 | if (requestData.Contains("uri")) | 120 | if (requestData.Contains("uri")) |
121 | { | 121 | { |
122 | string URI = (string)requestData["URI"]; | 122 | string URI = (string)requestData["uri"]; |
123 | 123 | ||
124 | DeRegisterMessageServer(URI); | 124 | DeRegisterMessageServer(URI); |
125 | responseData["responsestring"] = "TRUE"; | 125 | responseData["responsestring"] = "TRUE"; |
@@ -153,6 +153,14 @@ namespace OpenSim.Grid.UserServer | |||
153 | public void TellMessageServersAboutUser(LLUUID agentID, LLUUID sessionID, LLUUID RegionID, ulong regionhandle, LLVector3 Position) | 153 | public void TellMessageServersAboutUser(LLUUID agentID, LLUUID sessionID, LLUUID RegionID, ulong regionhandle, LLVector3 Position) |
154 | { | 154 | { |
155 | // Loop over registered Message Servers ( AND THERE WILL BE MORE THEN ONE :D ) | 155 | // Loop over registered Message Servers ( AND THERE WILL BE MORE THEN ONE :D ) |
156 | if (MessageServers.Count > 0) | ||
157 | { | ||
158 | m_log.Info("[MSGCONNECTOR]: Sending login notice to registered message servers"); | ||
159 | } | ||
160 | else | ||
161 | { | ||
162 | m_log.Info("[MSGCONNECTOR]: No Message Servers registered, ignoring"); | ||
163 | } | ||
156 | foreach (MessageServerInfo serv in MessageServers.Values) | 164 | foreach (MessageServerInfo serv in MessageServers.Values) |
157 | { | 165 | { |
158 | NotifyMessageServerAboutUser(serv, agentID, sessionID, RegionID, regionhandle, Position); | 166 | NotifyMessageServerAboutUser(serv, agentID, sessionID, RegionID, regionhandle, Position); |