25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

* src/jd2ejd.erl: Bugfix

SVN Revision: 324
This commit is contained in:
Alexey Shchepin 2005-04-21 14:06:15 +00:00
parent fa479b6384
commit db7073ff2c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-04-21 Alexey Shchepin <alexey@sevcom.net>
* src/jd2ejd.erl: Bugfix
2005-04-20 Alexey Shchepin <alexey@sevcom.net> 2005-04-20 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_auth.erl: Added check for domain of registered user * src/ejabberd_auth.erl: Added check for domain of registered user

View File

@ -87,8 +87,9 @@ process_xdb(User, Server, {xmlelement, Name, _Attrs, Els}) ->
end. end.
xdb_data(User, Server, El) -> xdb_data(User, Server, {xmlcdata, _CData}) ->
{xmlelement, _Name, Attrs, _Els} = El, ok;
xdb_data(User, Server, {xmlelement, _Name, Attrs, _Els} = El) ->
From = jlib:make_jid(User, Server, ""), From = jlib:make_jid(User, Server, ""),
case xml:get_attr_s("xmlns", Attrs) of case xml:get_attr_s("xmlns", Attrs) of
?NS_AUTH -> ?NS_AUTH ->