mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Change teleports so the TeleportFlags are sent to the destination sim. It
can now determine if a connection is from login, teleport or crossing. Needed for a meaningful banlines implementation
This commit is contained in:
@@ -557,7 +557,7 @@ namespace OpenSim.Region.CoreModules.InterGrid
|
||||
|
||||
// Call 'new user' event handler
|
||||
string reason;
|
||||
if (!homeScene.NewUserConnection(agentData, out reason))
|
||||
if (!homeScene.NewUserConnection(agentData, (uint)TeleportFlags.ViaLogin, out reason))
|
||||
{
|
||||
responseMap["connect"] = OSD.FromBoolean(false);
|
||||
responseMap["message"] = OSD.FromString(String.Format("Connection refused: {0}", reason));
|
||||
|
||||
Reference in New Issue
Block a user