fix default room creation policy on server
This commit is contained in:
parent
61a81a2576
commit
1f8fa21cf3
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ void room_manager::load_config(const config& cfg)
|
|||
{
|
||||
filename_ = cfg["room_save_file"];
|
||||
compress_stored_rooms_ = utils::string_bool(cfg["compress_stored_rooms"], true);
|
||||
new_room_policy_ = pp_from_string(cfg["new_room_policy"]);
|
||||
PRIVILEGE_POLICY pp = pp_from_string(cfg["new_room_policy"]);
|
||||
if (pp != PP_COUNT) new_room_policy_ = pp;
|
||||
}
|
||||
|
||||
const std::string& room_manager::storage_filename() const
|
||||
|
|
Loading…
Add table
Reference in a new issue