# HG changeset patch # User Guus der Kinderen # Date 1717484804 -7200 # Node ID d4a8644a1cc5a904973e17b76934749b8b1f671d # Parent 5c4e102e25630ca4b29ba176818e47cf98dd3d00 mod_pubsub_serverinfo: fix syntax error diff -r 5c4e102e2563 -r d4a8644a1cc5 mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua --- a/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Mon Jun 03 12:52:26 2024 +0200 +++ b/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Tue Jun 04 09:06:44 2024 +0200 @@ -16,7 +16,7 @@ if not service and prosody.hosts["pubsub."..module.host] then service = "pubsub."..module.host; end -if not service +if not service then module:log_status("warn", "No pubsub service specified - module not activated"); return; end