aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-02 04:54:46 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-02 04:54:46 +0100
commitb9c0a4931de101141bcb2364b579d34844a3f5c9 (patch)
tree27a51db4fe90e3a5627c943e7a3b89573fe68300 /prosodyctl
parent678d1273e3ac128724618e2862c317f2a1e670d6 (diff)
downloadprosody-b9c0a4931de101141bcb2364b579d34844a3f5c9.tar.gz
prosody-b9c0a4931de101141bcb2364b579d34844a3f5c9.zip
prosodyctl: Add message for not-running error
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl1
1 files changed, 1 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 980aa329..0d687986 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -95,6 +95,7 @@ local error_messages = setmetatable({
["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?";
["no-pidfile"] = "There is no pidfile option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help";
["no-such-method"] = "This module has no commands";
+ ["not-running"] = "Prosody is not running";
}, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end });
hosts = {};