[#BanMan-2constructor] = xref:BanMan.adoc[BanMan]::BanMan :relfileprefix: ../ :mrdocs: Constructs the ban manager and loads any existing banlist from disk. == Synopsis Declared in `<banman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BanMan( xref:fs/path.adoc[fs::path] ban_file, xref:CClientUIInterface.adoc[CClientUIInterface]* client_interface, int64_t default_ban_time); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ban_file* | Path to the banlist file on disk. | *client_interface* | UI interface notified when the banlist changes, or nullptr. | *default_ban_time* | Default ban duration in seconds. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#