mod_pubsub_serverinfo: fix syntax error
authorGuus der Kinderen <guus.der.kinderen@gmail.com>
Tue, 04 Jun 2024 09:06:44 +0200
changeset 5922 d4a8644a1cc5
parent 5921 5c4e102e2563
child 5923 99ecfe44910b
mod_pubsub_serverinfo: fix syntax error
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