Minor mod_version bugfix
This commit is contained in:
parent
15f664af26
commit
32da749041
|
@ -53,7 +53,7 @@ process_local_iq(_From, To, #iq{id = _ID, type = Type,
|
||||||
set ->
|
set ->
|
||||||
IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]};
|
IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]};
|
||||||
get ->
|
get ->
|
||||||
Host = To#jid.server,
|
Host = To#jid.lserver,
|
||||||
OS = case gen_mod:get_module_opt(Host, ?MODULE, show_os, true) of
|
OS = case gen_mod:get_module_opt(Host, ?MODULE, show_os, true) of
|
||||||
true -> [get_os()];
|
true -> [get_os()];
|
||||||
false -> []
|
false -> []
|
||||||
|
|
Loading…
Reference in New Issue