From 7f47cecc8c29eaba6397bc32d53a2d8ae4c64213 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sat, 8 Dec 2018 20:03:24 +0000 Subject: Fix username parsing bug. --- telem.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telem.lua b/telem.lua index 9c9960a..5c57635 100755 --- a/telem.lua +++ b/telem.lua @@ -114,7 +114,7 @@ function get_posts(thread) if postfile == "subject" then goto continue end local post = {} post.filename = path.join(thread.directory, postfile) - local _, _, timestamp, author = string.find(postfile, "(%d+)-(%a+)") + local _, _, timestamp, author = string.find(postfile, "(%d+)-(%g+)") post.timestamp = tonumber(timestamp) post.author = author table.insert(posts, post) -- cgit v1.2.3