Skip to content

Commit

Permalink
campaignd: Fix split log line
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Oct 15, 2020
1 parent 9b446b2 commit 4ec4756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/campaignd/server.cpp
Expand Up @@ -240,9 +240,9 @@ void server::load_config()

// Convert all legacy addons to the new format on load
if(cfg_.has_child("campaigns")) {
WRN_CS << "Old format addons have been detected in the config! They will be converted to the new file format! ";
config& campaigns = cfg_.child("campaigns");
WRN_CS << campaigns.child_count("campaign") << " entries to be processed.\n";
WRN_CS << "Old format addons have been detected in the config! They will be converted to the new file format! "
<< campaigns.child_count("campaign") << " entries to be processed.\n";
for(config& campaign : campaigns.child_range("campaign")) {
const std::string& addon_id = campaign["name"].str();
const std::string& addon_file = campaign["filename"].str();
Expand Down

0 comments on commit 4ec4756

Please sign in to comment.