25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

hook_deps: Use precise name: hooks are added and later deleted, not removed

This commit is contained in:
Badlop 2024-05-15 12:55:11 +02:00
parent d2e7b5ffa0
commit 2554b51173

View File

@ -225,7 +225,7 @@ analyze_hooks({Add, Del}) ->
true -> ok;
false ->
err("~s:~p: Error: "
"hook ~s->~s->~s is added but was never removed~n",
"hook ~s->~s->~s is added but was never deleted~n",
[File, FileNo, Hook, Mod, Fun])
end
end, maps:to_list(Add1)),
@ -235,7 +235,7 @@ analyze_hooks({Add, Del}) ->
true -> ok;
false ->
err("~s:~p: Error: "
"hook ~s->~s->~s is removed but was never added~n",
"hook ~s->~s->~s is deleted but was never added~n",
[File, FileNo, Hook, Mod, Fun])
end
end, maps:to_list(Del1)).