fixes disco#info

SVN Revision: 2482
This commit is contained in:
Evgeniy Khramtsov 2009-08-15 03:14:17 +00:00
parent 7fb6a4696a
commit 2999a11f4b
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_INFO, lang = Lang} = IQ,
disco_info, ServerHost, [], [ServerHost, ?MODULE, "", ""]),
IQ#iq{type = result, sub_el =
[{xmlelement, "query", [{"xmlns", ?NS_DISCO_INFO}],
iq_disco_info(Name, Lang) ++ Info}]};
iq_disco_info(Lang, Name) ++ Info}]};
%% disco#items request
process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_ITEMS} = IQ, _) ->