Internet Direct (Indy) Version 9.0.1 Beta
TIdIRCServer.OnCommandRestart
Event handler for the IRC RESTART command.

property OnCommandRestart: TIdIrcGetEvent;
Description
OnCommandRestart is a TIdIrcGetEvent event handler that allows the server to respond to the IRC RESTART command. RESTART is used to force a server to restart.

RESTART is optional since it may be viewed as a risk to allow arbitrary people to connect to a server as an operator and execute this command, causing (at least) a disruption to service.

The RESTART command must always be fully processed by the server to which the sending client is connected and not be passed onto other connected servers.