comparison mod_vjud/mod_vjud.lua @ 1319:400a7fdd2049

mod_vjud: Fix typo
author Kim Alvefur <zash@zash.se>
date Wed, 26 Feb 2014 18:36:22 +0100
parents 5d49dc72b732
children cf3bdcb633f0
comparison
equal deleted inserted replaced
1318:5d49dc72b732 1319:400a7fdd2049
38 module:get_host_type() == "component" 38 module:get_host_type() == "component"
39 and module.host:gsub("^[^.]+%.","") 39 and module.host:gsub("^[^.]+%.","")
40 or module.host); 40 or module.host);
41 41
42 module:depends"disco"; 42 module:depends"disco";
43 if module:get_host_type() == "completed" then 43 if module:get_host_type() == "component" then
44 module:add_identity("directory", "user", module:get_option_string("name", "User search")); 44 module:add_identity("directory", "user", module:get_option_string("name", "User search"));
45 end 45 end
46 module:add_feature("jabber:iq:search"); 46 module:add_feature("jabber:iq:search");
47 47
48 local vCard_mt = { 48 local vCard_mt = {