diff options
Diffstat (limited to 'OpenSim/Framework/EstateSettings.cs')
-rw-r--r-- | OpenSim/Framework/EstateSettings.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs index 81f85cd..b84d1d7 100644 --- a/OpenSim/Framework/EstateSettings.cs +++ b/OpenSim/Framework/EstateSettings.cs | |||
@@ -333,7 +333,7 @@ namespace OpenSim.Framework | |||
333 | public bool IsBanned(UUID avatarID) | 333 | public bool IsBanned(UUID avatarID) |
334 | { | 334 | { |
335 | foreach (EstateBan ban in l_EstateBans) | 335 | foreach (EstateBan ban in l_EstateBans) |
336 | if (ban.bannedUUID == avatarID) | 336 | if (ban.BannedUserID == avatarID) |
337 | return true; | 337 | return true; |
338 | return false; | 338 | return false; |
339 | } | 339 | } |
@@ -342,7 +342,7 @@ namespace OpenSim.Framework | |||
342 | { | 342 | { |
343 | if (ban == null) | 343 | if (ban == null) |
344 | return; | 344 | return; |
345 | if (!IsBanned(ban.bannedUUID)) | 345 | if (!IsBanned(ban.BannedUserID)) |
346 | l_EstateBans.Add(ban); | 346 | l_EstateBans.Add(ban); |
347 | } | 347 | } |
348 | 348 | ||
@@ -354,7 +354,7 @@ namespace OpenSim.Framework | |||
354 | public void RemoveBan(UUID avatarID) | 354 | public void RemoveBan(UUID avatarID) |
355 | { | 355 | { |
356 | foreach (EstateBan ban in new List<EstateBan>(l_EstateBans)) | 356 | foreach (EstateBan ban in new List<EstateBan>(l_EstateBans)) |
357 | if (ban.bannedUUID == avatarID) | 357 | if (ban.BannedUserID == avatarID) |
358 | l_EstateBans.Remove(ban); | 358 | l_EstateBans.Remove(ban); |
359 | } | 359 | } |
360 | 360 | ||