Changeset

5900:c5df6d53f17f

mod_lastlog2: Fix typo from original copy-paste
author aidan@jmad.org
date Sun, 25 Feb 2024 18:20:04 -0800
parents 5899:61bee1be6db3
children 5901:70fa3f8de249
files mod_lastlog2/README.markdown mod_lastlog2/mod_lastlog2.lua
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_lastlog2/README.markdown	Tue Mar 26 22:15:41 2024 +0100
+++ b/mod_lastlog2/README.markdown	Sun Feb 25 18:20:04 2024 -0800
@@ -34,7 +34,7 @@
 
 You can check a user's last activity by running:
 
-    prosodyctl mod_lastlog username@example.com
+    prosodyctl mod_lastlog2 username@example.com
 
 # Compatibility
 
--- a/mod_lastlog2/mod_lastlog2.lua	Tue Mar 26 22:15:41 2024 +0100
+++ b/mod_lastlog2/mod_lastlog2.lua	Sun Feb 25 18:20:04 2024 -0800
@@ -69,7 +69,7 @@
 
 function module.command(arg)
 	if not arg[1] or arg[1] == "--help" then
-		require"util.prosodyctl".show_usage([[mod_lastlog <user@host>]], [[Show when user last logged in or out]]);
+		require"util.prosodyctl".show_usage([[mod_lastlog2 <user@host>]], [[Show when user last logged in or out]]);
 		return 1;
 	end
 	local user, host = jid.prepped_split(table.remove(arg, 1));