mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
- Enforced no user or agent with UUID 0 on agent DB insertion
This commit is contained in:
@@ -567,6 +567,10 @@ namespace OpenSim.Data.SQLite
|
||||
/// <param name="agent">The agent to add to the database</param>
|
||||
override public void AddNewUserAgent(UserAgentData agent)
|
||||
{
|
||||
UUID zero = UUID.Zero;
|
||||
if (agent.SessionID == zero || agent.ProfileID == zero)
|
||||
return;
|
||||
|
||||
DataTable agents = ds.Tables["useragents"];
|
||||
lock (ds)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user