aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtelem.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/telem.lua b/telem.lua
index 6a40b95..8d4a343 100755
--- a/telem.lua
+++ b/telem.lua
@@ -205,6 +205,9 @@ function do_board()
if string.len(board) > 18 then
print("Board names must be 18 characters or less!")
return
+ elseif string.find(board, "%p") or string.find(board, "%s") then
+ print("Board names may not contain spaces or punctuation!")
+ return
elseif string.len(board) == 0 then
print("New board cancelled.")
return