Skip to content

mintmousse.clearWhitelist

Clears all currently added to the whitelist, so you can start fresh.

Active Connections

Removing a rule does not disconnect clients who are already connected. The whitelist is only checked at the moment a new connection is attempted.

Lockout Risk

Calling this function while the server is running will prevent any new connections from being established, including those from localhost. Ensure you add a new rule immediately after clearing if you intend to keep the console accessible.

Synopsis

mintmousse.clearWhitelist()

Parameters

Nothing.

Returns

Nothing.

Examples

mintmousse.clearWhitelist()

mintmousse.addWhitelist("localhost")

See Also