show client player name in sent/received commands

This commit is contained in:
Martin Michelsen
2022-03-07 21:56:35 -08:00
parent 15f978820f
commit 627498dc8a
6 changed files with 20 additions and 9 deletions
-1
View File
@@ -45,7 +45,6 @@ Client::Client(
this->is_virtual_connection = false;
get_socket_addresses(fd, &this->local_addr, &this->remote_addr);
}
memset(this->name, 0, sizeof(this->name));
memset(&this->next_connection_addr, 0, sizeof(this->next_connection_addr));
}