Changeset

9135:c68d62ae9cb7

pubsub.lib: correctly emit data form fields
author Jonas Wielicki <jonas@wielicki.name>
date Mon, 06 Aug 2018 16:27:05 +0200
parents 9124:dcc490f0044d
children 9136:07fc2c5c0c2e
files plugins/mod_pubsub/pubsub.lib.lua
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Sun Aug 05 11:44:49 2018 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Mon Aug 06 16:27:05 2018 +0200
@@ -77,11 +77,11 @@
 		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",
 		};
 	};
 	{