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()); } diff --git a/README.md b/README.md index 8719780..ca70c52 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ The testing framwework used is Google Test. # 5. Version History ## 5.1. Version 1.0 - [**Improvement**] Improve CI to include all variants of build configurations ([#40](https://github.com/F4FXL/DStarGateway/issues/40)) +- [**Bugfix**] Fix #42 Cache not updated when answering ircddb gateway is only conected to one network ([#42](https://github.com/F4FXL/DStarGateway/issues/42)) - [**Bugfix**] Fix #37 Unable to transmit multiple files (DGWVoiceTransmit) ([#37](https://github.com/F4FXL/DStarGateway/issues/37)) - [**Bugfix**] Fix #36 Error1 Build fails in some environment ([#36](https://github.com/F4FXL/DStarGateway/issues/36)) - [**Bugfix**] Fix #38 g++ 13 build ([#38](https://github.com/F4FXL/DStarGateway/issues/38))