aboutsummaryrefslogtreecommitdiff
path: root/telem.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtelem.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/telem.lua b/telem.lua
index bb790c9..f077680 100755
--- a/telem.lua
+++ b/telem.lua
@@ -329,6 +329,7 @@ function do_help()
(c)olor ........ Disable/Enable ANSI color codes
(H)ide ......... Disable/Enable hiding of old threads
(o)rder ........ Toggle order of message listing
+ (w)ho .......... List currently logged-in users
(q)uit ......... Immediately quit the board
]])
end
@@ -689,8 +690,8 @@ function do_rules()
cat_file(path.join(_BBS_ROOT, "docs", "rules"))
end
-function do_who()
- os.execute("/usr/bin/w")
+function do_finger()
+ os.execute("/usr/bin/finger -sh")
end
-- MAIN PROGRAM BODY BELOW
@@ -714,7 +715,7 @@ dispatch["q"] = do_quit
dispatch["t"] = do_type
dispatch["?"] = do_help2
dispatch["!"] = do_rules
-dispatch["w"] = do_who
+dispatch["w"] = do_finger
dispatch["s"] = do_scan
dispatch["o"] = do_order
dispatch["n"] = do_new