[prosody-dev] Key/value table defined in configuration

2015-02-20 Thread Nicolás
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

Re: [prosody-dev] Key/value table defined in configuration

2015-02-20 Thread Matthew Wild
Hi Nicolás, On 20 February 2015 at 06:59, Nicolás wrote: > 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 retri

Re: [prosody-dev] Key/value table defined in configuration

2015-02-20 Thread Nicolás
El 20/02/2015 a las 10:25, Matthew Wild escribió: Hi Nicolás, On 20 February 2015 at 06:59, Nicolás wrote: 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 modu