Changed hook for ban check (first hook called)