mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
MUC: Provide options as options in config form (fixes traceback)
This commit is contained in:
parent
2f1b93f5e9
commit
83881eaed9
1 changed files with 1 additions and 1 deletions
|
@ -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' }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue