| 
    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] = 
"invite <nick> <canal>";
 
   41         else if (channel->
joined(client))
 
  
 
Definition: Channel.hpp:26
 
std::string & getName(void)
Definition: Channel.hpp:82
 
bool isOpe(Client *client)
Definition: Channel.hpp:195
 
std::string _description
Definition: Command.hpp:12
 
std::string _username
Definition: Client.hpp:27
 
const std::string getNick(void) const
Definition: Client.hpp:142
 
std::string _name
Definition: Command.hpp:11
 
#define RPL_INVITING(servername, nick, channel, user)
Definition: Replies.hpp:76
 
Definition: Command.hpp:7
 
std::string getCmd(void) const
Definition: message.cpp:74
 
void message(char const *message)
Definition: client.cpp:15
 
void invite(Client *client)
Definition: Channel.hpp:279
 
const std::string getUsername(void) const
Definition: Client.hpp:147
 
#define ERR_NOSUCHNICK(servername, nick)
Definition: Replies.hpp:104
 
Message * _message
Definition: Command.hpp:21
 
#define ERR_CHANOPRIVSNEEDED(servername, nick, channel)
Definition: Replies.hpp:154
 
#define ERR_NEEDMOREPARAMS(servername, nick, command)
Definition: Replies.hpp:131
 
std::map< size_t, std::string > _example
Definition: Command.hpp:16
 
bool validate(void)
Definition: Invite.hpp:19
 
#define ERR_NOTONCHANNEL(servername, nick, channel)
Definition: Replies.hpp:126
 
Invite()
Definition: Invite.hpp:10
 
#define RPL_CUSTOM_INVITE(user, channel, nick)
Definition: Replies.hpp:192
 
Client * getClient(std::string const &name)
Definition: Server.hpp:140
 
bool joined(Client *client)
Definition: Channel.hpp:183
 
std::map< size_t, std::string > getParams(void) const
Definition: message.cpp:79
 
Channel * getChannel(std::string &name)
Definition: Server.hpp:202
 
Definition: Client.hpp:22
 
std::string _usage
Definition: Command.hpp:13
 
bool hasMode(ChannelMode mode)
Definition: Channel.hpp:337
 
const std::string getUserId(void) const
Definition: Client.hpp:162
 
Client * _sender
Definition: Command.hpp:19
 
#define ERR_USERONCHANNEL(servername, nick, username, channel)
Definition: Replies.hpp:128
 
std::string _nick
Definition: Client.hpp:26
 
@ CHANNEL_MODE_INVITE_ONLY
Definition: Channel.hpp:10
 
std::string _servername
Definition: Client.hpp:30
 
void execute()
Definition: Invite.hpp:55
 
Server * _server
Definition: Command.hpp:20