diff options
Diffstat (limited to 'OpenSim/Data/MySQL/MySQLEstateData.cs')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLEstateData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/MySQL/MySQLEstateData.cs b/OpenSim/Data/MySQL/MySQLEstateData.cs index 0db624d..133ee7a 100644 --- a/OpenSim/Data/MySQL/MySQLEstateData.cs +++ b/OpenSim/Data/MySQL/MySQLEstateData.cs | |||
@@ -314,9 +314,9 @@ namespace OpenSim.Data.MySQL | |||
314 | UUID uuid = new UUID(); | 314 | UUID uuid = new UUID(); |
315 | UUID.TryParse(r["bannedUUID"].ToString(), out uuid); | 315 | UUID.TryParse(r["bannedUUID"].ToString(), out uuid); |
316 | 316 | ||
317 | eb.bannedUUID = uuid; | 317 | eb.BannedUserID = uuid; |
318 | eb.bannedIP = "0.0.0.0"; | 318 | eb.BannedHostAddress = "0.0.0.0"; |
319 | eb.bannedIPHostMask = "0.0.0.0"; | 319 | eb.BannedHostIPMask = "0.0.0.0"; |
320 | es.AddBan(eb); | 320 | es.AddBan(eb); |
321 | } | 321 | } |
322 | r.Close(); | 322 | r.Close(); |
@@ -340,7 +340,7 @@ namespace OpenSim.Data.MySQL | |||
340 | foreach (EstateBan b in es.EstateBans) | 340 | foreach (EstateBan b in es.EstateBans) |
341 | { | 341 | { |
342 | cmd.Parameters.AddWithValue("?EstateID", es.EstateID.ToString()); | 342 | cmd.Parameters.AddWithValue("?EstateID", es.EstateID.ToString()); |
343 | cmd.Parameters.AddWithValue("?bannedUUID", b.bannedUUID.ToString()); | 343 | cmd.Parameters.AddWithValue("?bannedUUID", b.BannedUserID.ToString()); |
344 | 344 | ||
345 | cmd.ExecuteNonQuery(); | 345 | cmd.ExecuteNonQuery(); |
346 | cmd.Parameters.Clear(); | 346 | cmd.Parameters.Clear(); |