From 6602ac415e47c44891c5925b05b5057ceefae513 Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Thu, 22 Nov 2018 10:03:07 +0000 Subject: [PATCH] Don't send squadron info with EDDN Location and FSDJump messages --- plugins/eddn.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/eddn.py b/plugins/eddn.py index 32004e04..f2b68403 100644 --- a/plugins/eddn.py +++ b/plugins/eddn.py @@ -404,7 +404,8 @@ def journal_entry(cmdr, is_beta, system, station, entry, state): for thing in ['ActiveFine', 'CockpitBreach', 'BoostUsed', 'FuelLevel', 'FuelUsed', 'JumpDist', 'Latitude', 'Longitude', 'Wanted']: entry.pop(thing, None) for faction in entry.get('Factions', []): - faction.pop('MyReputation', None) + for thing in ['HappiestSystem', 'HomeSystem', 'MyReputation', 'SquadronFaction']: + faction.pop(thing, None) # add planet to Docked event for planetary stations if known if entry['event'] == 'Docked' and this.planet: