init libmosquitto with module loading
init libmosquitto with module loading

Instead of require user to manually call init() we call it on module
loading. We keep the init() function for backwards compatibility.

Also do some whitespace fixes (spaces before tabs etc)

Signed-off-by: Natanael Copa <d6dfbe96822fc6f407d114112670f8d1571509f1@alpinelinux.org>

nemik/lua-mosquitto,israellot/lua-mosquitto,nemik/lua-mosquitto