Prevent spoofing the agent name on text IM
parent
3b76d7bbb6
commit
d8ae287ebf
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue