From 140e8b81453ef7d875f411f63bed4516a1f8a883 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Fri, 7 Dec 2018 21:19:08 +0000 Subject: Fix bug so that usernames with numbers in them are parsed correctly. --- telem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telem.lua') diff --git a/telem.lua b/telem.lua index 7ecf1fa..fb5f5d1 100755 --- a/telem.lua +++ b/telem.lua @@ -53,7 +53,7 @@ function get_threads(board) thread = {} thread.filename = topic thread.directory = path.join(_BBS_ROOT, "boards", board, topic) - _, _, timestamp, thread.author = string.find(topic, "(%d+)-(%a+)") + _, _, timestamp, thread.author = string.find(topic, "(%d+)-(%g+)") thread.timestamp = tonumber(timestamp) io.input(thread.directory.."/subject") -- cgit v1.2.3