aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolderpunk <solderpunk@sdf.org>2018-12-12 18:16:32 +0000
committerSolderpunk <solderpunk@sdf.org>2018-12-12 18:16:32 +0000
commit15cf67638cf93f63231efc5c52232430a49879bc (patch)
tree4097ed66b6ed3f483fdcf775b7e78d8c7917da76
parentLet user preview their posts and cancel or edit further. (diff)
Read username as command line argument.
-rwxr-xr-xtelem.lua2
1 files changed, 1 insertions, 1 deletions
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