aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit30bf5f22593069ec56982198a6581af5fb4c6988 (patch)
treee7b7155c4a039fe2e361c5bdbd814068de0ef37d /plugins
parent206ca2fd0d5e76f492b715fb801707bd7ed09282 (diff)
downloadprosody-30bf5f22593069ec56982198a6581af5fb4c6988.tar.gz
prosody-30bf5f22593069ec56982198a6581af5fb4c6988.zip
pubsub.lib: correctly emit data form fields
Diffstat (limited to 'plugins')
-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",
};
};
{