# HG changeset patch # User Matthew Wild # Date 1713269019 -3600 # Node ID 2c85397d7241c1644e29b5414eb0c4e3e2f4640a # Parent 54b451c3790cf16792d253fe7006f6136a269016 mod_pubsub_serverinfo: node is a string, not a number diff -r 54b451c3790c -r 2c85397d7241 mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua --- a/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Tue Apr 16 12:58:08 2024 +0100 +++ b/mod_pubsub_serverinfo/mod_pubsub_serverinfo.lua Tue Apr 16 13:03:39 2024 +0100 @@ -5,7 +5,7 @@ local local_domain = module:get_host(); local service = module:get_option_string(module.name .. "_service"); -local node = module:get_option_number(module.name .. "_node", "serverinfo"); +local node = module:get_option_string(module.name .. "_node", "serverinfo"); local actor = module.host .. "/modules/" .. module.name; local publication_interval = module:get_option_number(module.name .. "_publication_interval", 300); local cache_ttl = module:get_option_number(module.name .. "_cache_ttl", 3600);