From 2c54fd272823a6f639be7be36e9984520d10b38e Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Mon, 16 Feb 2026 21:05:08 +0100 Subject: [PATCH] #62 do not do notify NAT traversal tou ourselves --- Common/RepeaterHandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Common/RepeaterHandler.cpp b/Common/RepeaterHandler.cpp index b100cf1..27aa600 100644 --- a/Common/RepeaterHandler.cpp +++ b/Common/RepeaterHandler.cpp @@ -1975,7 +1975,10 @@ void CRepeaterHandler::g2CommandHandler(const std::string& callsign, const std:: m_g2User = "CQCQCQ "; CRepeaterData* data = m_cache->findRepeater(m_g2Repeater); - m_irc->notifyRepeaterG2NatTraversal(m_g2Repeater); + if( data != NULL && data->getRepeater() == m_rptCallsign) { + // No point NAT traversal to ourselves + m_irc->notifyRepeaterG2NatTraversal(m_g2Repeater); + } if (data == NULL) { m_g2Status = G2_REPEATER;