diff options
author | Solderpunk <solderpunk@sdf.org> | 2018-12-08 18:11:46 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2018-12-08 18:11:46 +0000 |
commit | dbfd7fe841147a9b7cefc6fb328a53a69a207fc4 (patch) | |
tree | cb5470470d4fb99acb637dc270cc6bdb46aaa486 /telem.lua | |
parent | Make board/message listing formatting a bit prettier. (diff) |
Don't permit creation of duplicate boards.
Diffstat (limited to 'telem.lua')
-rwxr-xr-x | telem.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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() |