fixed cmd_resync (bot shouldn't deop itself...)