Formatting cleanup.
parent
eeca0ee009
commit
bc9f793a92
|
@ -318,12 +318,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
|
|
||||||
UserAccount account = m_Scenes[0].UserAccountService.GetUserAccount(client.Scene.RegionInfo.ScopeID, fromAgentID);
|
UserAccount account = m_Scenes[0].UserAccountService.GetUserAccount(client.Scene.RegionInfo.ScopeID, fromAgentID);
|
||||||
|
|
||||||
PresenceInfo presence = null;
|
PresenceInfo presence = null;
|
||||||
PresenceInfo[] presences = PresenceService.GetAgents(new string[] { fid });
|
PresenceInfo[] presences = PresenceService.GetAgents(new string[] { fid });
|
||||||
if (presences != null && presences.Length > 0)
|
if (presences != null && presences.Length > 0)
|
||||||
presence = presences[0];
|
presence = presences[0];
|
||||||
if (presence != null)
|
if (presence != null)
|
||||||
im.offline = 0;
|
im.offline = 0;
|
||||||
|
|
||||||
im.fromAgentID = fromAgentID.Guid;
|
im.fromAgentID = fromAgentID.Guid;
|
||||||
im.fromAgentName = account.FirstName + " " + account.LastName;
|
im.fromAgentName = account.FirstName + " " + account.LastName;
|
||||||
|
|
|
@ -2763,7 +2763,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
UUID = UUID.Random();
|
UUID = UUID.Random();
|
||||||
LinkNum = linkNum;
|
LinkNum = linkNum;
|
||||||
LocalId = 0;
|
LocalId = 0;
|
||||||
Inventory.ResetInventoryIDs();
|
Inventory.ResetInventoryIDs();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -176,7 +176,7 @@ namespace OpenSim.Server.Base
|
||||||
OpenSimAppender consoleAppender = null;
|
OpenSimAppender consoleAppender = null;
|
||||||
FileAppender fileAppender = null;
|
FileAppender fileAppender = null;
|
||||||
|
|
||||||
if ( logConfig != null )
|
if (logConfig != null)
|
||||||
{
|
{
|
||||||
FileInfo cfg = new FileInfo(logConfig);
|
FileInfo cfg = new FileInfo(logConfig);
|
||||||
XmlConfigurator.Configure(cfg);
|
XmlConfigurator.Configure(cfg);
|
||||||
|
|
Loading…
Reference in New Issue