mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
mod_antispam: fix config types
This commit is contained in:
parent
b607d95a93
commit
6122a525d2
1 changed files with 3 additions and 2 deletions
|
@ -138,10 +138,11 @@ mod_opt_type(spam_domains_file) ->
|
||||||
econf:either(
|
econf:either(
|
||||||
econf:enum([none]), econf:file());
|
econf:enum([none]), econf:file());
|
||||||
mod_opt_type(whitelist_domains_file) ->
|
mod_opt_type(whitelist_domains_file) ->
|
||||||
econf:either(none, econf:binary());
|
econf:either(
|
||||||
|
econf:enum([none]), econf:file());
|
||||||
mod_opt_type(spam_dump_file) ->
|
mod_opt_type(spam_dump_file) ->
|
||||||
econf:either(
|
econf:either(
|
||||||
econf:enum([none]), econf:binary());
|
econf:enum([none]), econf:file());
|
||||||
mod_opt_type(spam_jids_file) ->
|
mod_opt_type(spam_jids_file) ->
|
||||||
econf:either(
|
econf:either(
|
||||||
econf:enum([none]), econf:file());
|
econf:enum([none]), econf:file());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue