* Removed 19 warnings
parent
9e1cc72c6e
commit
8fd0378ae6
|
@ -252,7 +252,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
|||
|
||||
if ((m_irc.Enabled) && (m_irc.Connected))
|
||||
{
|
||||
string clientName = client.FirstName + " " + client.LastName;
|
||||
string clientName = client.Name;
|
||||
// handles simple case. May not work for hundred connecting in per second.
|
||||
// and the NewClients calles getting interleved
|
||||
// but filters out multiple reports
|
||||
|
|
|
@ -139,7 +139,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups
|
|||
m_grouplistmap.Add(client.AgentId, testGroupList);
|
||||
}
|
||||
}
|
||||
m_log.Info("[GROUP]: Adding " + client.FirstName + " " + client.LastName + " to OpenSimulator Tester group");
|
||||
m_log.Info("[GROUP]: Adding " + client.Name + " to OpenSimulator Tester group");
|
||||
}
|
||||
|
||||
private void OnAgentDataUpdateRequest(IClientAPI remoteClient, LLUUID AgentID, LLUUID SessionID)
|
||||
|
@ -210,7 +210,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Groups
|
|||
IClientAPI cli = m_iclientmap[agentID];
|
||||
if (cli != null)
|
||||
{
|
||||
m_log.Info("[GROUP]: Removing all reference to groups for " + cli.FirstName + " " + cli.LastName);
|
||||
m_log.Info("[GROUP]: Removing all reference to groups for " + cli.Name);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -326,7 +326,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.WorldComm
|
|||
{
|
||||
DeliverMessage(e.Type,
|
||||
e.Channel,
|
||||
e.Sender.FirstName + " " + e.Sender.LastName,
|
||||
e.Sender.Name,
|
||||
e.Sender.AgentId,
|
||||
e.Message);
|
||||
}
|
||||
|
|
|
@ -787,7 +787,7 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
if (!presence.IsChildAgent)
|
||||
{
|
||||
string name = presence.ControllingClient.FirstName + " " + presence.ControllingClient.LastName;
|
||||
string name = presence.ControllingClient.Name;
|
||||
|
||||
if (String.Compare(avatarName, name, true) == 0)
|
||||
{
|
||||
|
|
|
@ -6170,7 +6170,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
{
|
||||
ScenePresence av = World.GetScenePresence(key);
|
||||
|
||||
if (av != null);
|
||||
if (av != null)
|
||||
{
|
||||
foreach (object o in args.Data)
|
||||
{
|
||||
|
|
|
@ -331,7 +331,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
|
|||
m_host.AbsolutePosition,
|
||||
m_host.Name, m_host.UUID);
|
||||
}
|
||||
catch (Exception f)
|
||||
catch (Exception)
|
||||
{
|
||||
//}
|
||||
//else
|
||||
|
|
Loading…
Reference in New Issue