aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtelem.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/telem.lua b/telem.lua
index 4e37899..0bfebe9 100755
--- a/telem.lua
+++ b/telem.lua
@@ -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