diff options
Diffstat (limited to 'OpenSim/Framework/Data.MySQL')
-rw-r--r-- | OpenSim/Framework/Data.MySQL/MySQLManager.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLManager.cs b/OpenSim/Framework/Data.MySQL/MySQLManager.cs index dba367e..3df0242 100644 --- a/OpenSim/Framework/Data.MySQL/MySQLManager.cs +++ b/OpenSim/Framework/Data.MySQL/MySQLManager.cs | |||
@@ -343,7 +343,14 @@ namespace OpenSim.Framework.Data.MySQL | |||
343 | // for the UUID of the region's owner (master avatar) | 343 | // for the UUID of the region's owner (master avatar) |
344 | // | 344 | // |
345 | //retval.owner_uuid = (string) reader["owner_uuid"]; | 345 | //retval.owner_uuid = (string) reader["owner_uuid"]; |
346 | retval.owner_uuid = new LLUUID((string)reader["owner_uuid"]); | 346 | try |
347 | { | ||
348 | retval.owner_uuid = new LLUUID((string)reader["owner_uuid"]); | ||
349 | } | ||
350 | catch | ||
351 | { | ||
352 | retval.owner_uuid = LLUUID.Zero; | ||
353 | } | ||
347 | // | 354 | // |
348 | // end of daTwitch's mods to this file | 355 | // end of daTwitch's mods to this file |
349 | } | 356 | } |