diff options
author | Solderpunk <solderpunk@sdf.org> | 2019-05-08 16:06:02 +0000 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2019-05-08 16:06:02 +0000 |
commit | 5f38268fb67321027c54011742e45eaf3a6a8a54 (patch) | |
tree | c69c2c1a8fb66b68bc287ac183a29a1d9990647e /telem.lua | |
parent | Remove unimplemented stuff that we don't really need. (diff) |
Simplify/neaten function names.
Diffstat (limited to 'telem.lua')
-rwxr-xr-x | telem.lua | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -260,7 +260,7 @@ function do_colour() end end -function do_setmessageorder() +function do_order() if reversemessages then reversemessages = false print("Newest messages displayed at top.") @@ -270,7 +270,7 @@ function do_setmessageorder() end end -function do_sethideold() +function do_hide() if hideold then hideold = false print("Showing old threads.") @@ -707,7 +707,7 @@ load_scan_times() -- Build dispatch table mapping chars to functions dispatch = {} dispatch["h"] = do_help -dispatch["H"] = do_sethideold +dispatch["H"] = do_hide dispatch["g"] = do_go dispatch["l"] = do_list dispatch["m"] = do_messages @@ -717,7 +717,7 @@ dispatch["?"] = do_help2 dispatch["!"] = do_rules dispatch["w"] = do_who dispatch["s"] = do_scan -dispatch["o"] = do_setmessageorder +dispatch["o"] = do_order dispatch["="] = do_unimplemented dispatch["n"] = do_new dispatch["r"] = do_reply |