Skip to content

Commit

Permalink
Uncomment filesystem code in ban_manager::write
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed May 15, 2016
1 parent 2b717a7 commit 3f91836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/ban.cpp
Expand Up @@ -318,9 +318,9 @@ static lg::log_domain log_server("server");
(*itor)->write(child);
}

/*filesystem::scoped_ostream ban_file = filesystem::ostream_file(filename_);
filesystem::scoped_ostream ban_file = filesystem::ostream_file(filename_);
config_writer writer(*ban_file, true);
writer.write(cfg);*/
writer.write(cfg);
}

bool ban_manager::parse_time(const std::string& duration, time_t* time) const
Expand Down

0 comments on commit 3f91836

Please sign in to comment.