aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteUserData.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
index 3e3ab71..068ff4b 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteUserData.cs
@@ -276,14 +276,16 @@ namespace OpenSim.Framework.Data.SQLite
276 { 276 {
277 // I just added this to help the standalone login situation. 277 // I just added this to help the standalone login situation.
278 //It still needs to be looked at by a Database guy 278 //It still needs to be looked at by a Database guy
279 DataTable ua = ds.Tables["useragents"];
280 row = ua.Rows.Find(user.UUID);
281
279 if (row == null) 282 if (row == null)
280 { 283 {
281 // do nothing 284 // do nothing
282 } 285 }
283 else 286 else
284 { 287 {
285 DataTable ua = ds.Tables["useragents"]; 288
286 row = ua.Rows.Find(user.UUID);
287 row.Delete(); 289 row.Delete();
288 ua.AcceptChanges(); 290 ua.AcceptChanges();
289 } 291 }