lua: Eliminated warnings

Reported-by: Nagy Gergely <algernon@madhouse-project.org>
Signed-off-by: Tusa Viktor <tusavik@gmail.com>