From 1f00d670043f9e71369656d1ef490d01de1f7c02 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 7 Nov 2016 18:03:37 +0000 Subject: [PATCH] Fix the reflector data distribution. --- YSFReflector/YSFReflector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFReflector/YSFReflector.cpp b/YSFReflector/YSFReflector.cpp index 241d5eb..e822bcb 100644 --- a/YSFReflector/YSFReflector.cpp +++ b/YSFReflector/YSFReflector.cpp @@ -253,7 +253,7 @@ void CYSFReflector::run() watchdogTimer.start(); for (std::vector::const_iterator it = m_repeaters.begin(); it != m_repeaters.end(); ++it) { - if ((*it)->m_address.s_addr != address.s_addr && (*it)->m_port != port) + if ((*it)->m_address.s_addr != address.s_addr || (*it)->m_port != port) network.writeData(buffer, (*it)->m_address, (*it)->m_port); }