aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Wielicki <jonas@wielicki.name>2018-08-06 16:27:05 +0200
committerJonas Wielicki <jonas@wielicki.name>2018-08-06 16:27:05 +0200
commit4d905e149101e7bef4bfdafafa4bc56e4bb80630 (patch)
treee7b7155c4a039fe2e361c5bdbd814068de0ef37d
parent56b0cd35c6768193b5c237c176339f176b73f1a2 (diff)
downloadprosody-4d905e149101e7bef4bfdafafa4bc56e4bb80630.tar.gz
prosody-4d905e149101e7bef4bfdafafa4bc56e4bb80630.zip
pubsub.lib: correctly emit data form fields
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 1fd5a39e..3d75c2e3 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -77,11 +77,11 @@ local node_config_form = dataform {
name = "pubsub#access_model";
label = "Specify the subscriber model";
options = {
- { value = "authorize" },
- { value = "open" },
- { value = "presence" },
- { value = "roster" },
- { value = "whitelist" },
+ "authorize",
+ "open",
+ "presence",
+ "roster",
+ "whitelist",
};
};
{