aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/UserAccountCache.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/HypergridService/UserAccountCache.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/HypergridService/UserAccountCache.cs')
-rw-r--r--OpenSim/Services/HypergridService/UserAccountCache.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAccountCache.cs b/OpenSim/Services/HypergridService/UserAccountCache.cs
index e0a3e61..bbc531e 100644
--- a/OpenSim/Services/HypergridService/UserAccountCache.cs
+++ b/OpenSim/Services/HypergridService/UserAccountCache.cs
@@ -80,6 +80,11 @@ namespace OpenSim.Services.HypergridService
80 return GetUser(userID.ToString()); 80 return GetUser(userID.ToString());
81 } 81 }
82 82
83 public UserAccount GetUserAccount(UUID scopeID, UUID userID, bool useCache)
84 {
85 return GetUser(userID.ToString());
86 }
87
83 public UserAccount GetUserAccount(UUID scopeID, string FirstName, string LastName) 88 public UserAccount GetUserAccount(UUID scopeID, string FirstName, string LastName)
84 { 89 {
85 return null; 90 return null;