25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix bug in scram is_alpha

This commit is contained in:
Badlop 2011-08-17 19:33:58 +02:00
parent abebabc487
commit 3edea6c806

View File

@ -190,7 +190,7 @@ unescape_username(EscapedUsername) ->
is_alpha(Char) when Char >= $a, Char =< $z -> is_alpha(Char) when Char >= $a, Char =< $z ->
true; true;
is_alpha(Char) when Char >= $A, Char =< $Z -> is_alpha(Char) when Char >= $A, Char =< $Z ->
true; true;
is_alpha(_) -> is_alpha(_) ->
true. false.