Reuse disconnect and leave code.
add /quit and /disconnect