fixex ctrl+D bug v.2

This commit is contained in:
Bettercallous
2024-04-29 18:36:37 +01:00
parent 9abced38a0
commit 3b951ffdf8
3 changed files with 17 additions and 22 deletions

View File

@@ -48,14 +48,15 @@ void Client::setAuthentication(int auth) {
_authentication = auth;
}
void Client::appendToCommand(std::string toAppend) {
command += toAppend;
}
const std::string& Client::getCommand() const {
return command;
}
void Client::clearCommand() {
command.clear();
command = "";
}
void Client::appendCommand(std::string str) {
this->command += str;
}