diff options
Diffstat (limited to 'src/zenserver/projectstore/projectstore.cpp')
| -rw-r--r-- | src/zenserver/projectstore/projectstore.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zenserver/projectstore/projectstore.cpp b/src/zenserver/projectstore/projectstore.cpp index a5bd1859b..0e6b2d3c9 100644 --- a/src/zenserver/projectstore/projectstore.cpp +++ b/src/zenserver/projectstore/projectstore.cpp @@ -3065,7 +3065,10 @@ ProjectStore::Project::ScanForOplogs() const Oplogs.reserve(DirContent.Directories.size()); for (const std::filesystem::path& DirPath : DirContent.Directories) { - Oplogs.push_back(DirPath.filename().string()); + if (Oplog::ExistsAt(DirPath)) + { + Oplogs.push_back(DirPath.filename().string()); + } } } |