diff options
Diffstat (limited to 'src/ejabberd_auth_anonymous.erl')
-rw-r--r-- | src/ejabberd_auth_anonymous.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ejabberd_auth_anonymous.erl b/src/ejabberd_auth_anonymous.erl index e3be79a43..3c4993cb0 100644 --- a/src/ejabberd_auth_anonymous.erl +++ b/src/ejabberd_auth_anonymous.erl @@ -177,10 +177,7 @@ plain_password_required(_) -> store_type(_) -> external. --spec opt_type(allow_multiple_connection) -> fun((boolean()) -> boolean()); - (anonymous_protocol) -> fun((sasl_anon | login_anon | both) -> - sasl_anon | login_anon | both); - (atom()) -> [atom()]. +-spec opt_type(atom()) -> fun((any()) -> any()) | [atom()]. opt_type(allow_multiple_connections) -> fun (V) when is_boolean(V) -> V end; opt_type(anonymous_protocol) -> |