diff options
author | Justin Clark-Casey (justincc) | 2010-08-13 20:23:53 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-08-13 20:23:53 +0100 |
commit | 39a748b47a5eb8020f167287c84a91bee0881cca (patch) | |
tree | 2733d3111fd652549a6447b4c991c3f5e7664986 /OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | |
parent | File wants to be committed (diff) | |
download | opensim-SC-39a748b47a5eb8020f167287c84a91bee0881cca.zip opensim-SC-39a748b47a5eb8020f167287c84a91bee0881cca.tar.gz opensim-SC-39a748b47a5eb8020f167287c84a91bee0881cca.tar.bz2 opensim-SC-39a748b47a5eb8020f167287c84a91bee0881cca.tar.xz |
refactor: Use SOP.Flags rather than SOP.ObjectFlags
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs index d8debc5..1edcb5d 100644 --- a/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs +++ b/OpenSim/Data/MySQL/MySQLLegacyRegionData.cs | |||
@@ -1081,7 +1081,7 @@ namespace OpenSim.Data.MySQL | |||
1081 | prim.SitName = (string)row["SitName"]; | 1081 | prim.SitName = (string)row["SitName"]; |
1082 | prim.TouchName = (string)row["TouchName"]; | 1082 | prim.TouchName = (string)row["TouchName"]; |
1083 | // Permissions | 1083 | // Permissions |
1084 | prim.ObjectFlags = (uint)(int)row["ObjectFlags"]; | 1084 | prim.Flags = (PrimFlags)(int)row["ObjectFlags"]; |
1085 | prim.OwnerMask = (uint)(int)row["OwnerMask"]; | 1085 | prim.OwnerMask = (uint)(int)row["OwnerMask"]; |
1086 | prim.NextOwnerMask = (uint)(int)row["NextOwnerMask"]; | 1086 | prim.NextOwnerMask = (uint)(int)row["NextOwnerMask"]; |
1087 | prim.GroupMask = (uint)(int)row["GroupMask"]; | 1087 | prim.GroupMask = (uint)(int)row["GroupMask"]; |
@@ -1414,7 +1414,7 @@ namespace OpenSim.Data.MySQL | |||
1414 | cmd.Parameters.AddWithValue("SitName", prim.SitName); | 1414 | cmd.Parameters.AddWithValue("SitName", prim.SitName); |
1415 | cmd.Parameters.AddWithValue("TouchName", prim.TouchName); | 1415 | cmd.Parameters.AddWithValue("TouchName", prim.TouchName); |
1416 | // permissions | 1416 | // permissions |
1417 | cmd.Parameters.AddWithValue("ObjectFlags", prim.ObjectFlags); | 1417 | cmd.Parameters.AddWithValue("ObjectFlags", (uint)prim.Flags); |
1418 | cmd.Parameters.AddWithValue("CreatorID", prim.CreatorID.ToString()); | 1418 | cmd.Parameters.AddWithValue("CreatorID", prim.CreatorID.ToString()); |
1419 | cmd.Parameters.AddWithValue("OwnerID", prim.OwnerID.ToString()); | 1419 | cmd.Parameters.AddWithValue("OwnerID", prim.OwnerID.ToString()); |
1420 | cmd.Parameters.AddWithValue("GroupID", prim.GroupID.ToString()); | 1420 | cmd.Parameters.AddWithValue("GroupID", prim.GroupID.ToString()); |