aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/UserAccountService.cs
diff options
context:
space:
mode:
authorTom2011-01-26 16:25:08 -0800
committerTom2011-01-26 16:25:08 -0800
commit6b27587bc7631d6fd083f3b4f752d9ddcfda4830 (patch)
tree743dd62eb392e4ec95b76c92918289995c15fa5d /OpenSim/Services/UserAccountService/UserAccountService.cs
parentAdd userFlags check to isBanned. This checks bans against DenyAnonymous and D... (diff)
downloadopensim-SC_OLD-6b27587bc7631d6fd083f3b4f752d9ddcfda4830.zip
opensim-SC_OLD-6b27587bc7631d6fd083f3b4f752d9ddcfda4830.tar.gz
opensim-SC_OLD-6b27587bc7631d6fd083f3b4f752d9ddcfda4830.tar.bz2
opensim-SC_OLD-6b27587bc7631d6fd083f3b4f752d9ddcfda4830.tar.xz
Add a "useCached" parameter to GetUserAccount. Add a function to Scene to get the user flags. It has to be here due to access restrictions :/
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index cbd6f35..b914668 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -208,6 +208,11 @@ namespace OpenSim.Services.UserAccountService
208 208
209 public UserAccount GetUserAccount(UUID scopeID, UUID principalID) 209 public UserAccount GetUserAccount(UUID scopeID, UUID principalID)
210 { 210 {
211 return GetUserAccount(scopeID, principalID, true);
212 }
213
214 public UserAccount GetUserAccount(UUID scopeID, UUID principalID, bool useCache)
215 {
211 UserAccountData[] d; 216 UserAccountData[] d;
212 217
213 if (scopeID != UUID.Zero) 218 if (scopeID != UUID.Zero)