From 83881eaed9b8201ec177bd5a1ef80fc5f6d8dc49 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 4 Aug 2018 23:12:52 +0200 Subject: MUC: Provide options as options in config form (fixes traceback) --- plugins/muc/whois.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/muc/whois.lib.lua b/plugins/muc/whois.lib.lua index f3070ddf..636d7c59 100644 --- a/plugins/muc/whois.lib.lua +++ b/plugins/muc/whois.lib.lua @@ -34,7 +34,7 @@ module:hook("muc-config-form", function(event) 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' } } -- cgit v1.2.3