From 7af1bb8281bf6a2f0529bd8be95d5f4f627fcd4b Mon Sep 17 00:00:00 2001 From: Yargo Date: Sun, 7 Oct 2018 21:04:01 +0000 Subject: implement "unimplemented" commands --- telem.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'telem.lua') diff --git a/telem.lua b/telem.lua index 694f4b9..63e5c70 100755 --- a/telem.lua +++ b/telem.lua @@ -112,6 +112,10 @@ function do_help2() cat_file("/var/bbs/docs/help2") end +function do_unimplemented() + print("Sorry, this command is not (yet) implemented!") +end + function do_list() for _,b in pairs(board_names) do posts = -3 -- Don't want to count "topic" file or "." or ".." @@ -243,6 +247,13 @@ dispatch["t"] = do_type dispatch["?"] = do_help2 dispatch["!"] = do_rules dispatch["w"] = do_who +dispatch["s"] = do_unimplemented +dispatch["="] = do_unimplemented +dispatch["M"] = do_unimplemented +dispatch["n"] = do_unimplemented +dispatch["r"] = do_unimplemented +dispatch["b"] = do_unimplemented +dispatch["c"] = do_unimplemented -- Infinite loop of command dispatch repeat -- cgit v1.2.3