One file per command

This commit is contained in:
2026-04-17 12:01:16 +02:00
parent 00a08b4f30
commit bb66fcc097
8 changed files with 169 additions and 4 deletions

View File

@@ -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(); }