IRC SERVER
The goal of this project is to make you write your own IRC server.
|
Go to the documentation of this file.
5 #include "../Command.hpp"
15 _example[0] =
"user <nombre de usuario> <nombre de host> <nombre de "
16 "servidor>: <nombre real>";
bool validate(void)
Definition: User.hpp:21
std::string _description
Definition: Command.hpp:12
void execute()
Definition: User.hpp:43
const std::string getNick(void) const
Definition: Client.hpp:142
Definition: Command.hpp:7
std::string getCmd(void) const
Definition: message.cpp:74
void message(char const *message)
Definition: client.cpp:15
bool isAuthenticated(void) const
Definition: Client.hpp:132
#define ERR_ALREADYREGISTRED(servername, nick)
Definition: Replies.hpp:133
void setUsername(std::string const &username)
Definition: Client.hpp:192
bool _needs_auth
Definition: Command.hpp:15
Message * _message
Definition: Command.hpp:21
#define ERR_NEEDMOREPARAMS(servername, nick, command)
Definition: Replies.hpp:131
std::map< size_t, std::string > _example
Definition: Command.hpp:16
bool _is_passLogged
Definition: Client.hpp:36
std::map< size_t, std::string > getParams(void) const
Definition: message.cpp:79
std::string _usage
Definition: Command.hpp:13
Client * _sender
Definition: Command.hpp:19
void setRealName(std::string const &realname)
Definition: Client.hpp:196
std::string _nick
Definition: Client.hpp:26
std::string _servername
Definition: Client.hpp:30
User()
Definition: User.hpp:10
void authenticate(void)
Definition: Client.hpp:98