aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtelem.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/telem.lua b/telem.lua
index 178448e..bcb4754 100755
--- a/telem.lua
+++ b/telem.lua
@@ -264,6 +264,8 @@ type_dispatch["r"] = do_type_reply
type_dispatch["d"] = function() return end
function do_type()
+ if current_board == "" then
+ print("Not at any board! Hit `l` to list boards, `g` to go to one.")
io.write("Read which thread? ")
local thread_id = tonumber(io.read())
if not thread_id or thread_id < 0 or thread_id > #current_board_threads then