This doesn't stop banword, but at least satisfies Dialyzer

This commit is contained in:
Badlop 2022-08-12 12:04:27 +02:00
parent b71cbeb48a
commit 2bf5a362ce
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ start(_Host, Opts) ->
stop(Host) ->
Blacklists = gen_mod:get_module_opt(Host, ?MODULE, blacklists),
lists:map(fun banword_gen_server:stop/0, Blacklists),
banword_gen_server:stop(),
CharMaps = gen_mod:get_module_opt(Host, ?MODULE, charmaps),
lists:map(fun normalize_leet_gen_server:stop/1, CharMaps),
ejabberd_hooks:delete(filter_packet, global, ?MODULE, on_filter_packet, 0),