aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
index 14a05ae..430968d 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Dialog/DialogModule.cs
@@ -53,6 +53,16 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Dialog
53 public string Name { get { return "Dialog Module"; } } 53 public string Name { get { return "Dialog Module"; } }
54 public bool IsSharedModule { get { return false; } } 54 public bool IsSharedModule { get { return false; } }
55 55
56 public void SendAlertToUser(IClientAPI client, string message)
57 {
58 SendAlertToUser(client, message, false);
59 }
60
61 public void SendAlertToUser(IClientAPI client, string message, bool modal)
62 {
63 client.SendAgentAlertMessage(message, modal);
64 }
65
56 public void SendAlertToUser(UUID agentID, string message) 66 public void SendAlertToUser(UUID agentID, string message)
57 { 67 {
58 SendAlertToUser(agentID, message, false); 68 SendAlertToUser(agentID, message, false);
@@ -64,7 +74,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Dialog
64 74
65 if (sp != null) 75 if (sp != null)
66 sp.ControllingClient.SendAgentAlertMessage(message, modal); 76 sp.ControllingClient.SendAgentAlertMessage(message, modal);
67 } 77 }
68 78
69 public void SendAlertToUser(string firstName, string lastName, string message, bool modal) 79 public void SendAlertToUser(string firstName, string lastName, string message, bool modal)
70 { 80 {