Update server.lua

Fixed bad code.