Backported: Fixed server configuration reload...
...to trigger ban writing if filename changed
This commit is contained in:
parent
1a600bc22a
commit
e2fbc584c9
1 changed files with 5 additions and 1 deletions
|
@ -551,7 +551,11 @@ namespace wesnothd {
|
|||
parse_time((**itor)["time"])-time(NULL)));
|
||||
}
|
||||
init_ban_help();
|
||||
filename_ = cfg["ban_save_file"];
|
||||
if (filename_ != cfg["ban_save_file"])
|
||||
{
|
||||
dirty_ = true;
|
||||
filename_ = cfg["ban_save_file"];
|
||||
}
|
||||
}
|
||||
|
||||
ban_manager::~ban_manager()
|
||||
|
|
Loading…
Add table
Reference in a new issue