lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Wed, Jul 21, 2010 at 5:48 PM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> local smtp = require("smtp")

This smtp module doesn't seem to return its table, so try this instead:

       require("smtp")
       local smtp = smtp

Hmm... now I get:

 attempt to index local 'smtp' (a nil value)

Thanks,

- J