Represents an IRC client connected to the server.
Abstract base class (interface) for all IRC commands.
Server * _server
Pointer to the IRC server instance.
virtual ~ICommand()
Virtual destructor for ICommand, ensuring proper cleanup of derived classes.
virtual void execute(Client *client, const std::vector< std::string > &args)=0
Pure virtual method to execute the command logic.
ICommand(Server *server)
Constructs an ICommand object, associating it with a server instance.
Implements the core IRC server functionality as a Singleton.