mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Merge pull request #2605 from af8a524db1/remove_unused_error
mod_register: Remove unused error 'too_many_users'
This commit is contained in:
commit
8c03427c25
@ -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