Fixed a bug in /leave