diff --git a/package.nw/lib/pota.js b/package.nw/lib/pota.js index 3166c80e..6e4f769d 100644 --- a/package.nw/lib/pota.js +++ b/package.nw/lib/pota.js @@ -5,11 +5,6 @@ var g_potaPlaces = null; var g_potaSpots = null; -const g_NotaAPota = { - refrence: null, - name: null -} - function ingestPotaPlaces(buffer) { try diff --git a/package.nw/lib/roster/processRosterFiltering.js b/package.nw/lib/roster/processRosterFiltering.js index 3530741a..513caaee 100644 --- a/package.nw/lib/roster/processRosterFiltering.js +++ b/package.nw/lib/roster/processRosterFiltering.js @@ -45,6 +45,16 @@ function processRosterFiltering(callRoster, rosterSettings) entry.tx = false; continue; } + if (entry.DXcall == "CQ POTA" && huntPOTA.checked == true) + { + entry.tx = true; + if (callObj.pota == null) + { + callObj.pota.reference = "?-????"; + callObj.pota.name = "Unknown Park"; + } + continue; + } if (callObj.ituza in g_blockedITUz) { entry.tx = false;