]> granicus.if.org Git - ejabberd/commitdiff
fixes disco#info
authorEvgeniy Khramtsov <xramtsov@gmail.com>
Sat, 15 Aug 2009 03:14:17 +0000 (03:14 +0000)
committerEvgeniy Khramtsov <xramtsov@gmail.com>
Sat, 15 Aug 2009 03:14:17 +0000 (03:14 +0000)
SVN Revision: 2482

src/mod_proxy65/mod_proxy65_service.erl

index c832b1a0d15ee4548be5c74b597fb0b0e3967d01..d88670f6557010db3c63b3112dc8fc811f231baf 100644 (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, _) ->