aboutsummaryrefslogtreecommitdiff
path: root/telem.lua
diff options
context:
space:
mode:
authorSolderpunk <solderpunk@sdf.org>2019-05-08 16:06:02 +0000
committerSolderpunk <solderpunk@sdf.org>2019-05-08 16:06:02 +0000
commit5f38268fb67321027c54011742e45eaf3a6a8a54 (patch)
treec69c2c1a8fb66b68bc287ac183a29a1d9990647e /telem.lua
parentRemove unimplemented stuff that we don't really need. (diff)
Simplify/neaten function names.
Diffstat (limited to 'telem.lua')
-rwxr-xr-xtelem.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/telem.lua b/telem.lua
index 05554d2..4f176ac 100755
--- a/telem.lua
+++ b/telem.lua
@@ -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