Fix error message when register is forbidden by ACL (EJAB-803)

SVN Revision: 2823
This commit is contained in:
Badlop 2009-12-23 16:08:20 +00:00
parent b2d6a25240
commit c7f4f39c03
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ try_register(User, Server, Password, Source, Lang) ->
Access = gen_mod:get_module_opt(Server, ?MODULE, access, all),
case acl:match_rule(Server, Access, JID) of
deny ->
{error, ?ERR_CONFLICT};
{error, ?ERR_FORBIDDEN};
allow ->
case check_timeout(Source) of
true ->