diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs index 0db31eb..36fe040 100644 --- a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs | |||
@@ -141,10 +141,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog | |||
141 | { | 141 | { |
142 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerid); | 142 | UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerid); |
143 | string ownerFirstName, ownerLastName; | 143 | string ownerFirstName, ownerLastName; |
144 | UUID ownerID = UUID.Zero; | ||
144 | if (account != null) | 145 | if (account != null) |
145 | { | 146 | { |
146 | ownerFirstName = account.FirstName; | 147 | ownerFirstName = account.FirstName; |
147 | ownerLastName = account.LastName; | 148 | ownerLastName = account.LastName; |
149 | ownerID = account.PrincipalID; | ||
148 | } | 150 | } |
149 | else | 151 | else |
150 | { | 152 | { |
@@ -155,7 +157,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog | |||
155 | ScenePresence sp = m_scene.GetScenePresence(avatarid); | 157 | ScenePresence sp = m_scene.GetScenePresence(avatarid); |
156 | 158 | ||
157 | if (sp != null) | 159 | if (sp != null) |
158 | sp.ControllingClient.SendTextBoxRequest(message, chatChannel, name, ownerFirstName, ownerLastName, objectid); | 160 | sp.ControllingClient.SendTextBoxRequest(message, chatChannel, name, ownerID, ownerFirstName, ownerLastName, objectid); |
159 | } | 161 | } |
160 | 162 | ||
161 | public void SendNotificationToUsersInRegion( | 163 | public void SendNotificationToUsersInRegion( |