fixed bugs

This commit is contained in:
bettercallous
2024-04-30 16:26:19 +01:00
parent 3b951ffdf8
commit 91e8f5c3f2
3 changed files with 23 additions and 5 deletions

View File

@@ -54,9 +54,14 @@ const std::string& Client::getCommand() const {
}
void Client::clearCommand() {
command.clear();
command = "";
}
void Client::appendCommand(std::string str) {
this->command += str;
command += str;
}
void Client::setCommand(std::string cmd) {
command = cmd;
}