~ fix: Concierge reports avatar leaving region twice

~ cleaning up log statements
0.6.3-post-fixes
Dr Scofield 2009-01-26 21:33:20 +00:00
parent 3b866df078
commit 8c4ac64d80
1 changed files with 1 additions and 3 deletions

View File

@ -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;