Hi,

I'm trying to define a key/value table in the configuration file, like this:

   a = {
       ["key"] = "value"
   }

However, seems that inside the plugin function, at retrieve time via module:get_option_set('a', '{}') it retrieves an empty table. However, if I just define a value instead of key/value, the table is retrieved correctly.

Is there a way to define a key/value table so I can get its values inside a plugin, or some alike structure?

Thanks.

--
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to