Function veloren_server::login_provider::ban_applies

source ยท
pub fn ban_applies(
    ban: &Ban,
    admin: Option<&AdminRecord>,
    now: DateTime<Utc>,
) -> bool
Expand description

Determines whether a user is banned, given a ban record connected to a user, the AdminRecord of that user (if it exists), and the current time.