aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-05 16:37:43 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-05 16:37:43 +0100
commitceb73bd4358e9dd286cc5757112254606dda7d54 (patch)
treead8a6488a66bbe36624729d0643457e14f787fc8 /prosodyctl
parent6b739c8d9ad38274ed46f718e6ec77f6c550c3f0 (diff)
downloadprosody-ceb73bd4358e9dd286cc5757112254606dda7d54.tar.gz
prosody-ceb73bd4358e9dd286cc5757112254606dda7d54.zip
prosodyctl: Add message for unable-to-save-data error
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 5bd34ee7..91ed7432 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -92,6 +92,7 @@ local error_messages = setmetatable({
["invalid-hostname"] = "The given hostname is invalid";
["no-password"] = "No password was supplied";
["no-such-user"] = "The given user does not exist on the server";
+ ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?";
}, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end });
hosts = {};