25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-11 15:08:56 +02:00

mod_register: Remove unused error 'too_many_users'

This commit is contained in:
Marc Schink 2018-09-13 21:23:40 +02:00
parent 1d6cbd2561
commit c156eabb24

View File

@ -344,9 +344,6 @@ try_register(User, Server, Password, SourceRaw, Lang) ->
{error, xmpp:err_not_allowed(Txt, Lang)};
{error, not_allowed} ->
{error, xmpp:err_not_allowed()};
{error, too_many_users} ->
Txt = <<"Too many users registered">>,
{error, xmpp:err_resource_constraint(Txt, Lang)};
{error, _} ->
?ERROR_MSG("failed to register user "
"~s@~s: ~p",