RemoveBan Function

Removes a ban that was written to the server (either in memory or on disk).

bool RemoveBan(const char[] identity, int flags, const char[] command, any source)

Parameters

const char[] identity

String to unban (ip or authstring).

int flags

Flags (only IP and AUTHID are valid flags here).

const char[] command

Command string to identify the source. If this is left empty, then OnRemoveBan will not be called.

any source

A source value that could be interpreted as a player index of any sort (not actually checked by Core).

Return Value

True on success, false on failure.