diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-11 18:24:32 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-11 18:24:32 +0000 |
commit | d95566acb6cefaa25a110610b5931497982abcfc (patch) | |
tree | 4c175c89c52702991247ac1c1ba32bd38570b7eb | |
parent | Don't count a thread as updated if the most recent post was made by the curre... (diff) |
Don't crash if a new user doesn't have a scanfile.
-rwxr-xr-x | telem.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -148,6 +148,7 @@ end function load_scan_times() local scanfile = path.join(_BBS_ROOT, "scans", username ..".scan") local f, err = io.open(scanfile, "r") + if f == nil then return end for line in f:lines() do local _, _, board, scantime = string.find(line, "(%a+):(%d+)") if boards_by_name[board] then |