Update init.lua

fix typo in condition
Merge pull request #12 from donat-b/patch-1

Update init.lua