# HG changeset patch # User Kim Alvefur # Date 1643877979 -3600 # Node ID 4dbca0858f0be784fea0ac6c777e436d841f497d # Parent dcad8940f0722df1168425f216fcd5d1020aebe0 mod_pep: Correct initialization of fallback service I'm not sure what went wrong here, copy-paste mistake? Doesn't matter as long as nobody can create nodes on this service. diff -r dcad8940f072 -r 4dbca0858f0b plugins/mod_pep.lua --- a/plugins/mod_pep.lua Wed Feb 02 18:36:08 2022 +0100 +++ b/plugins/mod_pep.lua Thu Feb 03 09:46:19 2022 +0100 @@ -193,14 +193,12 @@ end local nobody_service = pubsub.new({ - service = pubsub.new({ - node_defaults = { - ["max_items"] = 1; - ["persist_items"] = false; - ["access_model"] = "presence"; - ["send_last_published_item"] = "on_sub_and_presence"; - }; - }); + node_defaults = { + ["max_items"] = 1; + ["persist_items"] = false; + ["access_model"] = "presence"; + ["send_last_published_item"] = "on_sub_and_presence"; + }; }); function get_pep_service(username)