One file per command
This commit is contained in:
@@ -36,7 +36,7 @@ int Client::getFd() const { return (this->fd); }
|
||||
std::string Client::getNick() const { return (this->nick); }
|
||||
std::string Client::getUsername() const { return (this->username); }
|
||||
std::string Client::getRealname() const { return (this->realname); }
|
||||
std::string Client::getBuffer() const { return (this->buffer); }
|
||||
std::string &Client::getBuffer() { return (this->buffer); }
|
||||
bool Client::isAuthenticated() const { return (this->authenticated); }
|
||||
bool Client::isRegistered() const { return (this->registered); }
|
||||
|
||||
@@ -45,6 +45,6 @@ void Client::setNick(std::string nick) { this->nick = nick; }
|
||||
void Client::setUsername(std::string username) { this->username = username; }
|
||||
void Client::setRealname(std::string realname) { this->realname = realname; }
|
||||
void Client::setAuthenticated(bool value) { this->authenticated = value; }
|
||||
void Client::setRegistered(bool value) { this->authenticated = value; }
|
||||
void Client::setRegistered(bool value) { this->registered = value; }
|
||||
void Client::appendBuffer(std::string data) { this->buffer += data; }
|
||||
void Client::clearBuffer() { this->buffer.clear(); }
|
||||
Reference in New Issue
Block a user