aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/muc/whois.lib.lua2
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' }
}