Fixed leaving channel message not being sent when leaving the server