Prevent spoofing the agent name on text IM

viewer-2-initial-appearance
Melanie 2010-09-25 06:56:08 +01:00
parent 3b76d7bbb6
commit d8ae287ebf
1 changed files with 2 additions and 1 deletions

View File

@ -158,6 +158,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
if (m_TransferModule != null)
{
im.fromAgentName = client.FirstName + " " + client.LastName;
m_TransferModule.SendInstantMessage(im,
delegate(bool success)
{
@ -198,4 +199,4 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
OnInstantMessage(null, msg);
}
}
}
}