Fix crash in SharedDatabase::UpdateOrphanedCommandSettings

This commit is contained in:
Michael Cook (mackal) 2019-09-17 12:52:00 -04:00
parent 3dbb5fab50
commit 91a7ebbdfb

View File

@ -1501,7 +1501,7 @@ bool SharedDatabase::UpdateOrphanedCommandSettings(const std::vector<std::string
} }
LogInfo( LogInfo(
"%u Orphaned Command%s Deleted", "{} Orphaned Command{} Deleted",
orphaned.size(), orphaned.size(),
(orphaned.size() == 1 ? "" : "s") (orphaned.size() == 1 ? "" : "s")
); );