Mercurial > prosody-modules
changeset 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 |
files | mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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