aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-01 23:16:58 +0100
committerKim Alvefur <zash@zash.se>2019-11-01 23:16:58 +0100
commit8216017ab5628bd82ac8226c568e492da45ef61a (patch)
tree534f83e28146e0a19599048607ca245a8b1cf362 /prosodyctl
parent57273eb1488cebf258176e16c43b4ced4c9f6469 (diff)
downloadprosody-8216017ab5628bd82ac8226c568e492da45ef61a.tar.gz
prosody-8216017ab5628bd82ac8226c568e492da45ef61a.zip
prosodyctl: Print friendly version of error messages
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index 82b5faaa..a4724a19 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -144,7 +144,7 @@ function commands.adduser(arg)
if ok then return 0; end
- show_message(msg)
+ show_message(error_messages[msg])
return 1;
end