mod_spam_filter: Update type specification

This commit is contained in:
Holger Weiss 2019-04-25 18:27:11 +02:00
parent 92fadcdf4e
commit 0bf94ba446
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ get_commands_spec() ->
args = [{host, binary}, {jid, binary}],
result = {res, restuple}}].
-spec reload_spam_filter_files(binary()) -> {ok | error, string()}.
-spec reload_spam_filter_files(binary()) -> ok | {error, string()}.
reload_spam_filter_files(<<"global">>) ->
try lists:foreach(fun(Host) ->
ok = reload_spam_filter_files(Host)