mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua
changeset 5921 5c4e102e2563
parent 5890 2c85397d7241
child 5922 d4a8644a1cc5
--- a/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua	Thu May 30 17:55:48 2024 +0100
+++ b/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua	Mon Jun 03 12:52:26 2024 +0200
@@ -15,7 +15,8 @@
 
 if not service and prosody.hosts["pubsub."..module.host] then
 	service = "pubsub."..module.host;
-else
+end
+if not service
 	module:log_status("warn", "No pubsub service specified - module not activated");
 	return;
 end