From 8fd0378ae6d7aa7b85bbbd011ab24991f261770a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 14 May 2008 04:06:33 +0000 Subject: * Removed 19 warnings --- OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs | 2 +- OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/Avatar') diff --git a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs index 9f3429e..9e5f376 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Chat/ChatModule.cs @@ -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 diff --git a/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs index 6edc44d..f9e81f0 100644 --- a/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs +++ b/OpenSim/Region/Environment/Modules/Avatar/Groups/GroupsModule.cs @@ -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 { -- cgit v1.1