diff options
author | Charles Krinke | 2008-07-12 17:23:30 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-12 17:23:30 +0000 |
commit | 33971a7ce84da3d2471ad4d8f268a9210f28b1c2 (patch) | |
tree | 37d5f5ad1e0fcc6b6ceaf5e4a3dc7b2ae2cf6d5a /OpenSim/Region/ScriptEngine/Common | |
parent | Mantis#1718. Thank you kindly, Mircea for a patch that: (diff) | |
download | opensim-SC_OLD-33971a7ce84da3d2471ad4d8f268a9210f28b1c2.zip opensim-SC_OLD-33971a7ce84da3d2471ad4d8f268a9210f28b1c2.tar.gz opensim-SC_OLD-33971a7ce84da3d2471ad4d8f268a9210f28b1c2.tar.bz2 opensim-SC_OLD-33971a7ce84da3d2471ad4d8f268a9210f28b1c2.tar.xz |
Mantis#1681. Thank you kindly, Vytek for a patch that:
Adds additional support for llEmail().
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 53d1209..4fc4608 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -2222,7 +2222,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2222 | public void llEmail(string address, string subject, string message) | 2222 | public void llEmail(string address, string subject, string message) |
2223 | { | 2223 | { |
2224 | m_host.AddScriptLPS(1); | 2224 | m_host.AddScriptLPS(1); |
2225 | NotImplemented("llEmail"); | 2225 | IEmailModule emailModule = m_ScriptEngine.World.RequestModuleInterface<IEmailModule>(); |
2226 | if (emailModule == null) | ||
2227 | return; | ||
2228 | |||
2229 | emailModule.SendEmail(m_host.UUID, address, subject, message); | ||
2226 | } | 2230 | } |
2227 | 2231 | ||
2228 | public void llGetNextEmail(string address, string subject) | 2232 | public void llGetNextEmail(string address, string subject) |