diff --git a/YSFReflector/BlockList.cpp b/YSFReflector/BlockList.cpp index 17c1d22..1f2605a 100644 --- a/YSFReflector/BlockList.cpp +++ b/YSFReflector/BlockList.cpp @@ -85,8 +85,10 @@ bool CBlockList::loadFile() { FILE* fp = ::fopen(m_file.c_str(), "rt"); if (fp == NULL) { - m_callsigns.clear(); - LogInfo("Loaded %u callsigns from the block list", m_callsigns.size()); + if (!m_callsigns.empty()) { + m_callsigns.clear(); + LogInfo("Loaded %u callsigns from the block list", m_callsigns.size()); + } return false; } diff --git a/YSFReflector/Version.h b/YSFReflector/Version.h index a3f6e82..240e69c 100644 --- a/YSFReflector/Version.h +++ b/YSFReflector/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20210214"; +const char* VERSION = "20210215"; #endif