From ce89ff07e7df418f68f53a369b2835fef9dac472 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 3 Jan 2023 19:13:43 +0100 Subject: [PATCH] Fix "make hooks" --- src/ejabberd_captcha.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_captcha.erl b/src/ejabberd_captcha.erl index 53fd42d29..16e420d2f 100644 --- a/src/ejabberd_captcha.erl +++ b/src/ejabberd_captcha.erl @@ -361,7 +361,7 @@ terminate(_Reason, #state{enabled = Enabled}) -> if Enabled -> unregister_handlers(); true -> ok end, - ejabberd_hooks:delete(config_reloaded, ?MODULE, config_reloaded, 50). + ejabberd_hooks:delete(config_reloaded, ?MODULE, config_reloaded, 70). register_handlers() -> ejabberd_hooks:add(host_up, ?MODULE, host_up, 50),