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"
14 _usage =
"pass <password>";
Pass()
Definition: Pass.hpp:10
std::string _description
Definition: Command.hpp:12
std::string _name
Definition: Command.hpp:11
Definition: Command.hpp:7
std::string getCmd(void) const
Definition: message.cpp:74
void message(char const *message)
Definition: client.cpp:15
bool validate(void)
Definition: Pass.hpp:21
bool isAuthenticated(void) const
Definition: Client.hpp:132
#define ERR_ALREADYREGISTRED(servername, nick)
Definition: Replies.hpp:133
bool _needs_auth
Definition: Command.hpp:15
const std::string getUsername(void) const
Definition: Client.hpp:147
Message * _message
Definition: Command.hpp:21
const std::string getPassword(void)
Definition: Server.hpp:83
#define ERR_NEEDMOREPARAMS(servername, nick, command)
Definition: Replies.hpp:131
std::map< size_t, std::string > _example
Definition: Command.hpp:16
void execute()
Definition: Pass.hpp:50
bool _is_passLogged
Definition: Client.hpp:36
std::map< size_t, std::string > getParams(void) const
Definition: message.cpp:79
#define ERR_WRONGPASS(servername, nick)
Definition: Replies.hpp:182
std::string _usage
Definition: Command.hpp:13
#define ERR_NOTPASSNEEDED(servername, nick)
Definition: Replies.hpp:184
Client * _sender
Definition: Command.hpp:19
const std::string getRealname(void) const
Definition: Client.hpp:152
std::string _nick
Definition: Client.hpp:26
std::string _servername
Definition: Client.hpp:30
void authenticate(void)
Definition: Client.hpp:98
Server * _server
Definition: Command.hpp:20