# HG changeset patch # User Guus der Kinderen # Date 1717411946 -7200 # Node ID 5c4e102e25630ca4b29ba176818e47cf98dd3d00 # Parent 1927d4d27a26f3ff7722031d5c5c61a07d00450f mod_pubsub_serverinfo: fix bool logic when reading config diff -r 1927d4d27a26 -r 5c4e102e2563 mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua --- 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