Disconnect
AI-generatedSummary
Disconnect from a specified IRC server within the UnrealIRCd network, optionally providing a reason message for the disconnection.
Inputs
- Server Name (required) — The name of the IRC server to disconnect from.
- Reason — An optional message stating the reason for disconnecting from the IRC server.
- Redaction Options — Options to redact sensitive data and IP addresses from responses, enhancing privacy and security.
Output shape
a single JSON object containing the operation name, success status, the disconnect result, and an AI-safe flag
The response includes success or failure indication. Errors are handled according to the node's continueOnFail setting. Sensitive data and IP addresses can be redacted based on input options.
Examples
Example 1: Disconnect from an IRC server named 'irc.example.net' with a reason message
Provide 'irc.example.net' as Server Name and a reason string like 'Maintenance reboot'. Leave redaction options at defaults or customize as needed.
Example 2: Disconnect from an IRC server without providing a reason
Provide the target Server Name and omit the Reason field for a standard disconnect.