In the _handle method, the host checks if a username is taken.
Bug: The check if username == self.session.username or username in self.clients is case-sensitive. user could join as "john" while another user is "John." can cause confusion or bugs in the /w (whisper) logic.
Fix: Convert usernames to lowercase for the comparison check
In the _handle method, the host checks if a username is taken.
Bug: The check if username == self.session.username or username in self.clients is case-sensitive. user could join as "john" while another user is "John." can cause confusion or bugs in the /w (whisper) logic.
Fix: Convert usernames to lowercase for the comparison check