Pass host as an argument of ejabberd_hooks:run_fold.