From 15cf67638cf93f63231efc5c52232430a49879bc Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Wed, 12 Dec 2018 18:16:32 +0000 Subject: Read username as command line argument. --- telem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telem.lua b/telem.lua index 7b1bfe6..d220082 100755 --- a/telem.lua +++ b/telem.lua @@ -27,7 +27,7 @@ _COLOURS = { -- Global var declarations -username = os.getenv("USER") -- TODO: This is, obviously, not secure and will need to be updated +username = arg[1] boards = {} -- Array of board tables, alphaetically sorted boards_by_name = {} -- Set of board names, values are tables, must always be consistent with boards current_board = nil -- Active board table -- cgit v1.2.3