_server.removeBanishment()
Availability:
SmartFoxServer PRO 1.6.3
Usage:
_server.removeBanishment(param, banType)
Description:
Removes a banned user or IP address, allowing it to be able to access the server again.
Properties:
| param | a user name or IP address to remove | |
| banType | specifies if the ban was done by IP address or user name. Acceptable values are _server.BAN_BY_NAME and _server.BAN_BY_IP |
Returns:
nothing.
Example:
/*
* Remove the banishment for user "Lapo"
*/
_server.removeBanishment("Lapo", _server.BAN_BY_NAME)
See also:
banUser, banOfflineUser, kickUser