Update init.lua

fix typo in condition