mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix typo in error message
This commit is contained in:
parent
15d184a909
commit
5958a91428
@ -375,7 +375,7 @@ try_set_password(User, Server, Password, IQ, SubEl,
|
||||
Txt = <<"Empty password">>,
|
||||
IQ#iq{type = error, sub_el = [SubEl, ?ERRT_BAD_REQUEST(Lang, Txt)]};
|
||||
{error, not_allowed} ->
|
||||
Txt = <<"Chaning password is not allowed">>,
|
||||
Txt = <<"Changing password is not allowed">>,
|
||||
IQ#iq{type = error, sub_el = [SubEl, ?ERRT_NOT_ALLOWED(Lang, Txt)]};
|
||||
{error, invalid_jid} ->
|
||||
IQ#iq{type = error,
|
||||
|
Loading…
Reference in New Issue
Block a user