diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-04 23:12:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-04 23:12:52 +0200 |
commit | 83881eaed9b8201ec177bd5a1ef80fc5f6d8dc49 (patch) | |
tree | c54750ab3b7a5ed57c0588c493b9ac02498a6a09 /plugins/muc | |
parent | 2f1b93f5e9562d885bc974066748b32dc3936133 (diff) | |
download | prosody-83881eaed9b8201ec177bd5a1ef80fc5f6d8dc49.tar.gz prosody-83881eaed9b8201ec177bd5a1ef80fc5f6d8dc49.zip |
MUC: Provide options as options in config form (fixes traceback)
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/whois.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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' } } |