Changeset

1460:5882ed6219ff

prosodyctl: Add message for not-running error
author Matthew Wild <mwild1@gmail.com>
date Thu, 02 Jul 2009 04:54:46 +0100
parents 1459:545208bc0e84
children 1461:51f0202b0868
files prosodyctl
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 = {};