diff --git a/mod_spam_filter/src/mod_spam_filter.erl b/mod_spam_filter/src/mod_spam_filter.erl index 6ddfd84..58833f2 100644 --- a/mod_spam_filter/src/mod_spam_filter.erl +++ b/mod_spam_filter/src/mod_spam_filter.erl @@ -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)