diff --git a/package.nw/lib/pota.js b/package.nw/lib/pota.js index d44a2e4..1c0aa3b 100644 --- a/package.nw/lib/pota.js +++ b/package.nw/lib/pota.js @@ -218,17 +218,20 @@ function reportPotaRBN(callSpot) spotterGrid: callSpot.spotterGrid } - getPostJSONBuffer( - "https://api.pota.app/spot", - rbnReportResult, - null, - "https", - 443, - report, - 10000, - null, - null - ); + if (Number(report.frequency) > 0) + { + getPostJSONBuffer( + "https://api.pota.app/spot", + rbnReportResult, + null, + "https", + 443, + report, + 10000, + null, + null + ); + } } function reportPotaQSO(record)