Fixes bugs in the /kick and /disconnect commands.