aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtelem.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/telem.lua b/telem.lua
index 10dd4e6..3f08735 100755
--- a/telem.lua
+++ b/telem.lua
@@ -138,6 +138,9 @@ function do_board()
elseif string.len(board) == 0 then
print("New board cancelled.")
return
+ elseif board_names[board] ~= nil then
+ print("Board " .. board .. " already exists!")
+ return
end
io.write("Board topic? (Max 48 chars)")
local desc = io.read()