From 0bf94ba4463ecf15d87a0030e35a83237c7efeef Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 25 Apr 2019 18:27:11 +0200 Subject: [PATCH] mod_spam_filter: Update type specification --- mod_spam_filter/src/mod_spam_filter.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)