prosodyctl: Add message for not-running error

Thu, 02 Jul 2009 04:54:46 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 02 Jul 2009 04:54:46 +0100
changeset 1460
5882ed6219ff
parent 1459
545208bc0e84
child 1461
51f0202b0868

prosodyctl: Add message for not-running error

prosodyctl file | annotate | diff | comparison | revisions
--- a/prosodyctl	Thu Jul 02 04:53:31 2009 +0100
+++ b/prosodyctl	Thu Jul 02 04:54:46 2009 +0100
@@ -95,6 +95,7 @@
 		["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 = {};

mercurial