The Battle for Wesnoth  1.19.5+dev
Public Attributes | List of all members
user_handler::ban_info Struct Reference

Ban status description. More...

#include <user_handler.hpp>

Public Attributes

BAN_TYPE type = BAN_NONE
 Ban type. More...
 
std::chrono::seconds duration {0}
 Ban duration (0 if permanent) More...
 

Detailed Description

Ban status description.

Definition at line 103 of file user_handler.hpp.

Member Data Documentation

◆ duration

std::chrono::seconds user_handler::ban_info::duration {0}

Ban duration (0 if permanent)

Definition at line 106 of file user_handler.hpp.

Referenced by wesnothd::server::is_login_allowed().

◆ type

BAN_TYPE user_handler::ban_info::type = BAN_NONE

Ban type.

Definition at line 105 of file user_handler.hpp.

Referenced by wesnothd::server::is_login_allowed().


The documentation for this struct was generated from the following file: