这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@HashimTheArab
Copy link
Contributor

@HashimTheArab HashimTheArab commented Oct 29, 2025

No description provided.

@HashimTheArab HashimTheArab changed the title refactor/disconnect refactor: add conn.Disconnect and update listener.Disconnect to use that Oct 29, 2025
Comment on lines +584 to +587
_ = conn.WritePacket(&packet.Disconnect{
HideDisconnectionScreen: message == "",
Message: message,
})
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sends a Disconnect packet to the server if it is a client connection. That is not a logical change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants