From 5958a91428c6b5073a8be6cad185888382affe4e Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Tue, 12 Apr 2016 10:27:43 +0200 Subject: [PATCH] Fix typo in error message --- src/mod_register.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_register.erl b/src/mod_register.erl index fee2a2284..c1a7cab81 100644 --- a/src/mod_register.erl +++ b/src/mod_register.erl @@ -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,