7#ifndef NICK_COMMAND_HPP
8#define NICK_COMMAND_HPP
27 bool isValidNickname(
const std::string &nick)
const;
33 void registerClient(
Client *client);
Interface for all IRC commands.
Represents an IRC client connected to the server.
Abstract base class (interface) for all IRC commands.
Implements the NICK command.
void execute(Client *client, const std::vector< std::string > &args)
Executes the NICK command.
Implements the core IRC server functionality as a Singleton.