summaryrefslogtreecommitdiff
path: root/src/mod_register.erl
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-04-12 10:27:43 +0200
committerMickael Remond <mremond@process-one.net>2016-04-12 10:27:43 +0200
commit5958a91428c6b5073a8be6cad185888382affe4e (patch)
tree98565b82e0c4e04b231f3bef74c0eca5078e59bb /src/mod_register.erl
parentDisable TLS compression for s2s by default (diff)
Fix typo in error message
Diffstat (limited to 'src/mod_register.erl')
-rw-r--r--src/mod_register.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_register.erl b/src/mod_register.erl
index fee2a228..c1a7cab8 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,