mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix "make hooks"
This commit is contained in:
parent
5c1b72853f
commit
ce89ff07e7
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user