tmolitor-stud-tu / mod_push_appserver

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

fix(lua52): make get_html_form compatible with lua5.2 #12

Closed marc0s closed 5 years ago

marc0s commented 5 years ago

~~Create the fields table from arg or ... depending on which is not nil. On lua5.2 arg will be nil.~~

Just iterate over {...} as it's both compatible with Lua 5.1 and 5.2.

Fixes #11