void handleMessage(Server *server, Client *sender, const std::string &command, const std::vector< std::string > &args)
Handles sending messages to a target (user or channel) for PRIVMSG and NOTICE commands.
Utility functions for command handling.
Handles the PRIVMSG command.
Represents an IRC client connected to the server.
Abstract base class (interface) for all IRC commands.
Server * _server
Pointer to the IRC server instance.
void execute(Client *client, const std::vector< std::string > &args)
Executes the PRIVMSG command.
PrivmsgCommand(Server *server)
Constructs a PrivmsgCommand object.
Implements the core IRC server functionality as a Singleton.