25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01: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",