Minor mod_version bugfix

This commit is contained in:
Alexey Shchepin 2011-07-03 18:58:07 +03:00
parent 15f664af26
commit 32da749041
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ process_local_iq(_From, To, #iq{id = _ID, type = Type,
set ->
IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]};
get ->
Host = To#jid.server,
Host = To#jid.lserver,
OS = case gen_mod:get_module_opt(Host, ?MODULE, show_os, true) of
true -> [get_os()];
false -> []