Skip to content

Commit

Permalink
campaignd: Emit debug messages when writing configuration to disk
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Oct 29, 2014
1 parent 40c1448 commit 995f680
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/campaign_server/campaign_server.cpp
Expand Up @@ -185,8 +185,10 @@ void server::load_blacklist()

void server::write_config()
{
DBG_CS << "writing configuration and add-ons list to disk...\n";
filesystem::scoped_ostream out = filesystem::ostream_file(cfg_file_);
write(*out, cfg_);
DBG_CS << "... done\n";
}

void server::fire(const std::string& hook, const std::string& addon)
Expand Down

0 comments on commit 995f680

Please sign in to comment.