~ fix: Concierge reports avatar leaving region twice
~ cleaning up log statements0.6.3-post-fixes
parent
3b866df078
commit
8c4ac64d80
|
@ -264,7 +264,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
|
||||||
public override void OnNewClient(IClientAPI client)
|
public override void OnNewClient(IClientAPI client)
|
||||||
{
|
{
|
||||||
client.OnLogout += OnClientLoggedOut;
|
client.OnLogout += OnClientLoggedOut;
|
||||||
client.OnConnectionClosed += OnClientLoggedOut;
|
|
||||||
|
|
||||||
if (_replacingChatModule)
|
if (_replacingChatModule)
|
||||||
client.OnChatFromClient += OnChatFromClient;
|
client.OnChatFromClient += OnChatFromClient;
|
||||||
|
@ -343,7 +342,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
|
||||||
List<UUID> attendees = _sceneAttendees[scene];
|
List<UUID> attendees = _sceneAttendees[scene];
|
||||||
if (!attendees.Contains(agentID))
|
if (!attendees.Contains(agentID))
|
||||||
{
|
{
|
||||||
_log.WarnFormat("[Concierge]: avatar {0} sneaked in (not on attendee list of region {1})",
|
_log.WarnFormat("[Concierge]: avatar {0} must have sneaked in to region {1} earlier",
|
||||||
name, scene.RegionInfo.RegionName);
|
name, scene.RegionInfo.RegionName);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -393,7 +392,6 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
|
||||||
list.Append("</avatar>");
|
list.Append("</avatar>");
|
||||||
}
|
}
|
||||||
string payload = list.ToString();
|
string payload = list.ToString();
|
||||||
_log.DebugFormat("[Concierge]: posting to {0}:\n{1}", _brokerURI, payload);
|
|
||||||
|
|
||||||
// post via REST to broker
|
// post via REST to broker
|
||||||
HttpWebRequest updatePost = WebRequest.Create(_brokerURI) as HttpWebRequest;
|
HttpWebRequest updatePost = WebRequest.Create(_brokerURI) as HttpWebRequest;
|
||||||
|
|
Loading…
Reference in New Issue