tmolitor-stud-tu / mod_push_appserver

Simple and extendable appserver for XMPP pushes (aka. XEP-0357)
MIT License
25 stars 9 forks source link

lua5.2: arg no longer works for accessing variable arguments #11

Closed marc0s closed 5 years ago

marc0s commented 5 years ago

When trying the module with lua5.2 I did find that the HTML form for registering didn't show the fields, just the title and the submit button. This is because in Lua 5.2 to access the list of arguments the arg expression no longer works so ipairs(arg) iterates over nil (?) and no field is added to the form. The expression to use is now ....