diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-07 21:19:08 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-07 21:19:08 +0000 |
commit | 140e8b81453ef7d875f411f63bed4516a1f8a883 (patch) | |
tree | fda77d3c6bab85dfd8462233546355ec26a62d81 | |
parent | Store root of BBS directory in a global variable, to allow easily changing it... (diff) |
Fix bug so that usernames with numbers in them are parsed correctly.
Diffstat (limited to '')
-rwxr-xr-x | telem.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |