From a9f461d30ef4b017c7f466c66b93229718518fd4 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Tue, 13 Feb 2024 20:34:28 +0100 Subject: [PATCH] Remove check on ip address --- IRCDDB/IRCDDBMultiClient.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/IRCDDB/IRCDDBMultiClient.h b/IRCDDB/IRCDDBMultiClient.h index 2b47a5f..448f72c 100644 --- a/IRCDDB/IRCDDBMultiClient.h +++ b/IRCDDB/IRCDDBMultiClient.h @@ -97,7 +97,7 @@ public: } /* - Updates the entry, but only if the timestamp is newer. if an address was already specified it is kept. + Updates the entry, but only if the timestamp is newer. */ void Update(const std::string& user, const std::string& repeater, const std::string& gateway, const std::string& address, const std::string& timestamp, const std::string& remotePort) { @@ -108,9 +108,7 @@ public: m_gateway = gateway; m_timestamp = timestamp; m_remotePort = remotePort; - - if(m_address.empty() && !address.empty()) - m_address = address; + m_address = address; } //wxLogMessage("After : %s"), toString()); }