Add "objectmail_hostname" to llGetEnv()

It returns the part after the @ for an object's email address
This commit is contained in:
lickx
2024-06-01 15:48:29 +02:00
committed by lickx
parent b218c303c5
commit b97cacc712

View File

@@ -6488,6 +6488,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
case "grid":
return World.SceneGridInfo == null ? string.Empty : World.SceneGridInfo.GridName;
case "objectmail_hostname":
if (m_emailModule is not null)
return m_internalObjectHost;
return "";
default:
return "";
}