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:
parent
1d6cbd2561
commit
c156eabb24
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user