aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
diff options
context:
space:
mode:
authorDiva Canto2010-01-10 10:40:07 -0800
committerDiva Canto2010-01-10 10:40:07 -0800
commit1e1b2ab221851efc414678b7ea52ef2ca788ce9f (patch)
tree29b6aa80e54a9c18529ae14e7d185fe67582d151 /OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
parentAdd a "LockedOut" flag to allow locking a region out via the grid server. (diff)
downloadopensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.zip
opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.gz
opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.bz2
opensim-SC_OLD-1e1b2ab221851efc414678b7ea52ef2ca788ce9f.tar.xz
* OMG! All but one references to UserProfileCacheService have been rerouted!
* HG is seriously broken here * Compiles. Untested.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
index 72ec869..c59992e 100644
--- a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
@@ -34,6 +34,7 @@ using OpenSim.Framework;
34using OpenSim.Framework.Communications.Cache; 34using OpenSim.Framework.Communications.Cache;
35using OpenSim.Region.Framework.Interfaces; 35using OpenSim.Region.Framework.Interfaces;
36using OpenSim.Region.Framework.Scenes; 36using OpenSim.Region.Framework.Scenes;
37using OpenSim.Services.Interfaces;
37 38
38namespace OpenSim.Region.CoreModules.Avatar.Dialog 39namespace OpenSim.Region.CoreModules.Avatar.Dialog
39{ 40{
@@ -116,12 +117,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
116 UUID avatarID, string objectName, UUID objectID, UUID ownerID, 117 UUID avatarID, string objectName, UUID objectID, UUID ownerID,
117 string message, UUID textureID, int ch, string[] buttonlabels) 118 string message, UUID textureID, int ch, string[] buttonlabels)
118 { 119 {
119 CachedUserInfo info = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(ownerID); 120 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerID);
120 string ownerFirstName, ownerLastName; 121 string ownerFirstName, ownerLastName;
121 if (info != null) 122 if (account != null)
122 { 123 {
123 ownerFirstName = info.UserProfile.FirstName; 124 ownerFirstName = account.FirstName;
124 ownerLastName = info.UserProfile.SurName; 125 ownerLastName = account.LastName;
125 } 126 }
126 else 127 else
127 { 128 {