diff options
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLRegionData.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLRegionData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLRegionData.cs b/OpenSim/Data/MSSQL/MSSQLRegionData.cs index ae94252..65f301f 100644 --- a/OpenSim/Data/MSSQL/MSSQLRegionData.cs +++ b/OpenSim/Data/MSSQL/MSSQLRegionData.cs | |||
@@ -850,7 +850,7 @@ VALUES | |||
850 | 850 | ||
851 | newData.Name = (String)row["Name"]; | 851 | newData.Name = (String)row["Name"]; |
852 | newData.Description = (String)row["Description"]; | 852 | newData.Description = (String)row["Description"]; |
853 | newData.OwnerID = (String)row["OwnerUUID"]; | 853 | newData.OwnerID = (UUID)(String)row["OwnerUUID"]; |
854 | newData.IsGroupOwned = Convert.ToBoolean(row["IsGroupOwned"]); | 854 | newData.IsGroupOwned = Convert.ToBoolean(row["IsGroupOwned"]); |
855 | newData.Area = Convert.ToInt32(row["Area"]); | 855 | newData.Area = Convert.ToInt32(row["Area"]); |
856 | newData.AuctionID = Convert.ToUInt32(row["AuctionID"]); //Unemplemented | 856 | newData.AuctionID = Convert.ToUInt32(row["AuctionID"]); //Unemplemented |
@@ -910,7 +910,7 @@ VALUES | |||
910 | { | 910 | { |
911 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); | 911 | ParcelManager.ParcelAccessEntry entry = new ParcelManager.ParcelAccessEntry(); |
912 | entry.AgentID = new UUID((string)row["AccessUUID"]); | 912 | entry.AgentID = new UUID((string)row["AccessUUID"]); |
913 | entry.Flags = (ParcelManager.AccessList)Convert.ToInt32(row["Flags"]); | 913 | entry.Flags = (AccessList)Convert.ToInt32(row["Flags"]); |
914 | entry.Time = new DateTime(); | 914 | entry.Time = new DateTime(); |
915 | return entry; | 915 | return entry; |
916 | } | 916 | } |