Fix server crash when kicking/banning yourself via a chat command.
Fixes #320.