1
0
Fork 0

add 0001-change-message-from-Lure.patch

master
Christopher 2020-07-17 09:32:35 +02:00
parent 9bd507f871
commit b648a4553e
1 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,48 @@
From b32d87c412502d9ff6333f76fec4b63cbfb955f1 Mon Sep 17 00:00:00 2001
From: Christopher <git@clatza.dev>
Date: Fri, 17 Jul 2020 09:31:58 +0200
Subject: [PATCH] change message from Lure
---
OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs | 2 +-
OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
index 8aab90ad32..6928885815 100644
--- a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
@@ -186,7 +186,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure
Scene scene = (Scene)(client.Scene);
ScenePresence presence = scene.GetScenePresence(client.AgentId);
- message += "@" + m_ThisGridURL;
+ message = scene.Name + "/" + presence.AbsolutePosition.X + "/" + presence.AbsolutePosition.Y + "/" + presence.AbsolutePosition.Z;
m_log.DebugFormat("[HG LURE MODULE]: TP invite with message {0}", message);
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs
index 160a53eb74..b7f6fb5a6e 100644
--- a/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs
@@ -179,7 +179,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure
m = new GridInstantMessage(scene, client.AgentId,
client.FirstName+" "+client.LastName, targetid,
(byte)InstantMessageDialog.GodLikeRequestTeleport, false,
- message, dest, false, presence.AbsolutePosition,
+ scene.Name + "/" + presence.AbsolutePosition.X + "/" + presence.AbsolutePosition.Y + "/" + presence.AbsolutePosition.Z, dest, false, presence.AbsolutePosition,
new Byte[0], true);
}
else
@@ -187,7 +187,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure
m = new GridInstantMessage(scene, client.AgentId,
client.FirstName+" "+client.LastName, targetid,
(byte)InstantMessageDialog.RequestTeleport, false,
- message, dest, false, presence.AbsolutePosition,
+ scene.Name + "/" + presence.AbsolutePosition.X + "/" + presence.AbsolutePosition.Y + "/" + presence.AbsolutePosition.Z, dest, false, presence.AbsolutePosition,
new Byte[0], true);
}
--
2.25.1.windows.1