]> granicus.if.org Git - ejabberd/commitdiff
Fix typo in error message
authorMickael Remond <mremond@process-one.net>
Tue, 12 Apr 2016 08:27:43 +0000 (10:27 +0200)
committerMickael Remond <mremond@process-one.net>
Tue, 12 Apr 2016 08:27:43 +0000 (10:27 +0200)
src/mod_register.erl

index fee2a2284b35f4a5c238bdf6f09c3b53ed2bc388..c1a7cab81f78c80077524880a64156f5f4cd61ca 100644 (file)
@@ -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,