diff options
author | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-06-07 11:36:13 +0100 |
---|---|---|
committer | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-06-07 11:36:13 +0100 |
commit | 80cb8096a36c026c412d26e2a55cc744d05f6da6 (patch) | |
tree | 2bbdd3a5a6a08369b551bfaeb104c55dccd48892 /prosodyctl | |
parent | 9a5a3fd0f10693e6cba2779095398614eb94e68c (diff) | |
download | prosody-80cb8096a36c026c412d26e2a55cc744d05f6da6.tar.gz prosody-80cb8096a36c026c412d26e2a55cc744d05f6da6.zip |
prosodyctl: Created a custom function, 'test', that prints back a welcoming message
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -85,6 +85,10 @@ local prosodyctl_timeout = (configmanager.get("*", "prosodyctl_timeout") or 5) * local commands = {}; local command = table.remove(arg, 1); +function commands.test() + show_message [[Well, hello there!]] +end + function commands.adduser(arg) if not arg[1] or arg[1] == "--help" then show_usage([[adduser JID]], [[Create the specified user account in Prosody]]); |