improved autoaccept friendship hook