aboutsummaryrefslogtreecommitdiff
path: root/telem.lua
diff options
context:
space:
mode:
authorSolderpunk <solderpunk@sdf.org>2018-12-08 20:03:24 +0000
committerSolderpunk <solderpunk@sdf.org>2018-12-08 20:03:24 +0000
commit7f47cecc8c29eaba6397bc32d53a2d8ae4c64213 (patch)
treef5f66c8ee714dbbe09467f55625b48b0dff9eca3 /telem.lua
parentPrettier list formatting, and allow going to boards by numeric ID. (diff)
Fix username parsing bug.
Diffstat (limited to 'telem.lua')
-rwxr-xr-xtelem.lua2
1 files changed, 1 insertions, 1 deletions
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)