This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

bz_IDUnbanUser

From BZFlagWiki
Jump to navigation Jump to search

bool bz_IDUnbanUser (const char* bzID)


Unbans a bzID address currently listed in the ban list. Note: The bzID is automatically assigned via the registration process at the BZBB. In the version 2.4.0 API, there is no corresponding bz_IDBanUser() function which means previous bans had to be made by administrators manually.

Parameters:
bzID  -  The exact bzID to remove from the ban list. Note that this is not an integer, but a string.
Returns:
Whether or not the removal of the ban was executed successfully.


Example

bz_IDUnbanUser("1372");