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

Minor mod_version bugfix

This commit is contained in:
Alexey Shchepin 2011-07-03 18:58:07 +03:00
parent 15f664af26
commit 32da749041

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 -> []