This wiki is archived and useful information is being migrated to the main bzflag.org website

bz_IDUnbanUser

From BZFlagWiki
Revision as of 08:36, 19 October 2011 by Sigonasr2 (Talk | contribs) (Created new API Function page with example.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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[edit]

bz_IDUnbanUser("1372");