#160·cim

Bug:Messages can be sent without logging in.

Author: cmgyqjjCreated Sep 24, 2024Updated Oct 6, 2024
Labelsbug

Bug Description The messages will be sent without the need for logging in when a login attempt is repeated by someone. If the command :olu is used, it will be observed that it does not display your user ID, despite the ability to send messages.

Can I submit a Pull Request (PR) to fix the bug?

Reproduce step:

  1. route.start()
  2. server.start()
  3. client1.start() and user1.login()
  4. client2.start() and user1.login()
  5. client2.stop()
  6. user1.sendMessage()

Expected results The message can be sent by logged-in users; users who are not logged in cannot send messages.

Screenshot image image