RemoveBan

Last Updated2008-06-09
Created At2007-09-14

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

native bool RemoveBan(const char[] identity, int flags, const char[] command = "", any source = 0)

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

bool True on success, false on failure.