comparison mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua @ 5918:d4a8644a1cc5

mod_pubsub_serverinfo: fix syntax error
author Guus der Kinderen <guus.der.kinderen@gmail.com>
date Tue, 04 Jun 2024 09:06:44 +0200
parents 5c4e102e2563
children 99ecfe44910b
comparison
equal deleted inserted replaced
5917:5c4e102e2563 5918:d4a8644a1cc5
14 local persist_items = module:get_option_boolean(module.name.."_persist_items", true); 14 local persist_items = module:get_option_boolean(module.name.."_persist_items", true);
15 15
16 if not service and prosody.hosts["pubsub."..module.host] then 16 if not service and prosody.hosts["pubsub."..module.host] then
17 service = "pubsub."..module.host; 17 service = "pubsub."..module.host;
18 end 18 end
19 if not service 19 if not service then
20 module:log_status("warn", "No pubsub service specified - module not activated"); 20 module:log_status("warn", "No pubsub service specified - module not activated");
21 return; 21 return;
22 end 22 end
23 23
24 local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; 24 local xmlns_pubsub = "http://jabber.org/protocol/pubsub";