diff options
author | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2018-09-09 09:59:08 +0300 |
---|---|---|
committer | Evgeny Khramtsov <ekhramtsov@process-one.net> | 2018-09-09 09:59:08 +0300 |
commit | 2d246f61dd75bcef3ca15dc30cbe0b399c9f6e2c (patch) | |
tree | d7f37b1b12955d8a998d6cdb50fd03e47755875c /src/ejabberd_ctl.erl | |
parent | Merge pull request #2597 from dmitryDemchenko/master (diff) |
Fix some dialyzer warnings
Diffstat (limited to 'src/ejabberd_ctl.erl')
-rw-r--r-- | src/ejabberd_ctl.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl index f5d51036..c7164956 100644 --- a/src/ejabberd_ctl.erl +++ b/src/ejabberd_ctl.erl @@ -874,8 +874,7 @@ print(Format, Args) -> %% ["aaaa bbb ccc"]. --spec opt_type(ejabberdctl_access_commands) -> fun((list()) -> list()); - (atom()) -> [atom()]. +-spec opt_type(atom()) -> fun((any()) -> any()) | [atom()]. opt_type(ejabberdctl_access_commands) -> fun (V) when is_list(V) -> V end; opt_type(_) -> [ejabberdctl_access_commands]. |