Make sure telex + random command doesn't crash the server.

This commit is contained in:
Auke Kok 2019-08-07 22:21:17 -07:00
parent 4838ebec5c
commit 139dd7a2af

View File

@ -318,6 +318,8 @@ term.commands = {
term.draft)
return false
else
return output .. "\n" .. "Invalid command passed. Use `telex help` to list available commands."
end
else
return output .. "\n" ..