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

Fix a typo in the exmpp_stringprep module name.

SVN Revision: 1571
This commit is contained in:
Jean-Sébastien Pédron 2008-09-23 13:06:45 +00:00
parent 0e91ea9e5f
commit 052d006c88
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@
(remove_user): Fix a bug where the exmpp_jid module was use instead of (remove_user): Fix a bug where the exmpp_jid module was use instead of
exmpp_stringprep. exmpp_stringprep.
* src/ejabberd_auth_odbc.erl (check_password): Fix a typo in the
exmpp_stringprep module name.
2008-09-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com> 2008-09-22 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/mod_vcard.erl (get_sm_features): Remove unappropriate * src/mod_vcard.erl (get_sm_features): Remove unappropriate

View File

@ -79,7 +79,7 @@ check_password(User, Server, Password) ->
check_password(User, Server, Password, StreamID, Digest) -> check_password(User, Server, Password, StreamID, Digest) ->
try try
LUser = exmpp_stringpre:nodeprep(User), LUser = exmpp_stringprep:nodeprep(User),
Username = ejabberd_odbc:escape(LUser), Username = ejabberd_odbc:escape(LUser),
LServer = exmpp_stringprep:nameprep(Server), LServer = exmpp_stringprep:nameprep(Server),
case catch odbc_queries:get_password(LServer, Username) of case catch odbc_queries:get_password(LServer, Username) of