Revert "Fix mode output being duplicated during autojoin."

This reverts commit 1552411980f21e89d82df26d1527e7621e458bc6.