mod_pubsub: Split line in config check to improve readability
Also makes it easier to compare with mod_pep
--- a/plugins/mod_pubsub/mod_pubsub.lua Sun Dec 23 03:05:58 2018 +0100
+++ b/plugins/mod_pubsub/mod_pubsub.lua Sun Dec 23 03:06:35 2018 +0100
@@ -103,7 +103,8 @@
if (new_config["max_items"] or 1) > max_max_items then
return false;
end
- if new_config["access_model"] ~= "whitelist" and new_config["access_model"] ~= "open" then
+ if new_config["access_model"] ~= "whitelist"
+ and new_config["access_model"] ~= "open" then
return false;
end
return true;