From bdb365015b67d5b9b8646c97fc41047bb16f6175 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 9 Sep 2020 20:24:55 +1000 Subject: Bandaid for ghost users, check and remove them from Presence when they log on. Once again OOP proves it's worse that spaghetti, by cutting up the spaghetti and hiding it all over the kitchen. Note the commented out bits from GateKeeperService.cs, this stuff is checked TWICE, though this time is for HGers, or not. --- OpenSim/Region/Framework/Interfaces/IPresenceModule.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs b/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs index fb5933c..398611c 100644 --- a/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs @@ -33,11 +33,19 @@ namespace OpenSim.Region.Framework.Interfaces { public string UserID; public UUID RegionID; + public UUID SessionID; + public PresenceInfo(string userID, UUID regionID, UUID sessionID) + { + UserID = userID; + RegionID = regionID; + SessionID = sessionID; + } public PresenceInfo(string userID, UUID regionID) { UserID = userID; RegionID = regionID; + SessionID = UUID.Zero; } } -- cgit v1.1