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 | f127fcd15f9bf84eaa77d4b938d2bf4884fef92a (patch) | |
tree | c54750ab3b7a5ed57c0588c493b9ac02498a6a09 /plugins/muc/whois.lib.lua | |
parent | da42eb7404d8d292ac4daa3e913237594287fdae (diff) | |
download | prosody-f127fcd15f9bf84eaa77d4b938d2bf4884fef92a.tar.gz prosody-f127fcd15f9bf84eaa77d4b938d2bf4884fef92a.zip |
MUC: Provide options as options in config form (fixes traceback)
Diffstat (limited to 'plugins/muc/whois.lib.lua')
-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' } } |