mirror of
https://github.com/opensim/opensim.git
synced 2026-07-21 07:05:39 +08:00
- Enforced no user or agent with UUID 0 on agent DB insertion
This commit is contained in:
@@ -617,6 +617,10 @@ namespace OpenSim.Data.MySQL
|
||||
/// <param name="agent">The agent to create</param>
|
||||
public override void AddNewUserAgent(UserAgentData agent)
|
||||
{
|
||||
UUID zero = UUID.Zero;
|
||||
if (agent.ProfileID == zero || agent.SessionID == zero)
|
||||
return;
|
||||
|
||||
MySQLSuperManager dbm = GetLockedConnection();
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user