Clear the user list on disconnect.

Instead of only clearing the user list when entering prejoin
mode, also clear it when entering any mode except 'online'.