Changeset

9112:e66d932eeb58

MUC: Provide options as options in config form (fixes traceback)
author Kim Alvefur <zash@zash.se>
date Sat, 04 Aug 2018 23:12:52 +0200
parents 9111:bc7473fb7ad3
children 9113:74639d606a15
files plugins/muc/whois.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/whois.lib.lua	Sat Aug 04 23:12:41 2018 +0200
+++ b/plugins/muc/whois.lib.lua	Sat Aug 04 23:12:52 2018 +0200
@@ -34,7 +34,7 @@
 		name = 'muc#roomconfig_whois',
 		type = 'list-single',
 		label = 'Addresses (JIDs) of room occupants may be viewed by:',
-		value = {
+		options = {
 			{ value = 'moderators', label = 'Moderators only', default = whois == 'moderators' },
 			{ value = 'anyone',     label = 'Anyone',          default = whois == 'anyone' }
 		}