aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-01-08 19:28:10 +0000
committerJustin Clarke Casey2009-01-08 19:28:10 +0000
commitaf49acd6cca7fe3609f2febabb9fcde37af412bf (patch)
tree91695f6e1626ccccd8623e8e3faa7b93aa105f04 /OpenSim/Region/Environment/Modules/Avatar
parent* minor: Remove now unused SendEstateMessage... method in Scene I forgot from... (diff)
downloadopensim-SC_OLD-af49acd6cca7fe3609f2febabb9fcde37af412bf.zip
opensim-SC_OLD-af49acd6cca7fe3609f2febabb9fcde37af412bf.tar.gz
opensim-SC_OLD-af49acd6cca7fe3609f2febabb9fcde37af412bf.tar.bz2
opensim-SC_OLD-af49acd6cca7fe3609f2febabb9fcde37af412bf.tar.xz
* refactor: move url sending from scene to DialogModule
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
index 8fbe77f..4f8da9a 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
@@ -110,6 +110,15 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Dialog
110 if (sp != null) 110 if (sp != null)
111 sp.ControllingClient.SendDialog(objectName, objectID, ownerID, message, textureID, ch, buttonlabels); 111 sp.ControllingClient.SendDialog(objectName, objectID, ownerID, message, textureID, ch, buttonlabels);
112 } 112 }
113
114 public void SendUrlToUser(
115 UUID avatarID, string objectName, UUID objectID, UUID ownerID, bool groupOwned, string message, string url)
116 {
117 ScenePresence sp = m_scene.GetScenePresence(avatarID);
118
119 if (sp != null)
120 sp.ControllingClient.SendLoadURL(objectName, objectID, ownerID, groupOwned, message, url);
121 }
113 122
114 public void SendNotificationToUsersInEstate( 123 public void SendNotificationToUsersInEstate(
115 UUID fromAvatarID, string fromAvatarName, string message) 124 UUID fromAvatarID, string fromAvatarName, string message)