mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +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, xmpp:err_not_allowed(Txt, Lang)};
|
||||||
{error, not_allowed} ->
|
{error, not_allowed} ->
|
||||||
{error, xmpp:err_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, _} ->
|
||||||
?ERROR_MSG("failed to register user "
|
?ERROR_MSG("failed to register user "
|
||||||
"~s@~s: ~p",
|
"~s@~s: ~p",
|
||||||
|
Loading…
Reference in New Issue
Block a user