mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
This commit is contained in:
@@ -196,7 +196,7 @@ namespace OpenSim.Services.Connectors
|
||||
{
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
sendData["PRINCIPALID"] = PrincipalID.ToString();
|
||||
sendData["FRIENDS"] = Friend;
|
||||
sendData["FRIEND"] = Friend;
|
||||
sendData["METHOD"] = "deletefriend";
|
||||
|
||||
string reqString = ServerUtils.BuildQueryString(sendData);
|
||||
|
||||
@@ -74,6 +74,9 @@ namespace OpenSim.Services.Connectors.Friends
|
||||
|
||||
public bool FriendshipDenied(GridRegion region, UUID userID, string userName, UUID friendID)
|
||||
{
|
||||
if (region == null)
|
||||
return false;
|
||||
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
//sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString();
|
||||
//sendData["VERSIONMAX"] = ProtocolVersions.ClientProtocolVersionMax.ToString();
|
||||
@@ -131,7 +134,11 @@ namespace OpenSim.Services.Connectors.Friends
|
||||
private bool Call(GridRegion region, Dictionary<string, object> sendData)
|
||||
{
|
||||
string reqString = ServerUtils.BuildQueryString(sendData);
|
||||
// m_log.DebugFormat("[FRIENDS CONNECTOR]: queryString = {0}", reqString);
|
||||
//m_log.DebugFormat("[FRIENDS CONNECTOR]: queryString = {0}", reqString);
|
||||
if (region == null)
|
||||
return false;
|
||||
|
||||
m_log.DebugFormat("[FRIENDS CONNECTOR]: region: {0}", region.ExternalHostName + ":" + region.HttpPort);
|
||||
try
|
||||
{
|
||||
string url = "http://" + region.ExternalHostName + ":" + region.HttpPort;
|
||||
|
||||
@@ -209,6 +209,8 @@ namespace OpenSim.Services.LLLoginService
|
||||
bool success = false;
|
||||
UUID session = UUID.Random();
|
||||
|
||||
m_log.InfoFormat("[LLOGIN SERVICE]: Login request for {0} {1} from {2} with user agent {3} starting in {4}",
|
||||
firstName, lastName, clientIP.Address.ToString(), clientVersion, startLocation);
|
||||
try
|
||||
{
|
||||
//
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace OpenSim.Services.PresenceService
|
||||
UUID secureSessionID)
|
||||
{
|
||||
//PresenceData[] d = m_Database.Get("UserID", userID);
|
||||
m_Database.Get("UserID", userID);
|
||||
//m_Database.Get("UserID", userID);
|
||||
|
||||
PresenceData data = new PresenceData();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user