Comparison

prosodyctl @ 1460:5882ed6219ff

prosodyctl: Add message for not-running error
author Matthew Wild <mwild1@gmail.com>
date Thu, 02 Jul 2009 04:54:46 +0100
parent 1459:545208bc0e84
child 1499:51e3e22b5316
comparison
equal deleted inserted replaced
1459:545208bc0e84 1460:5882ed6219ff
93 ["no-password"] = "No password was supplied"; 93 ["no-password"] = "No password was supplied";
94 ["no-such-user"] = "The given user does not exist on the server"; 94 ["no-such-user"] = "The given user does not exist on the server";
95 ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?"; 95 ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?";
96 ["no-pidfile"] = "There is no pidfile option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help"; 96 ["no-pidfile"] = "There is no pidfile option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help";
97 ["no-such-method"] = "This module has no commands"; 97 ["no-such-method"] = "This module has no commands";
98 ["not-running"] = "Prosody is not running";
98 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); 99 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end });
99 100
100 hosts = {}; 101 hosts = {};
101 102
102 require "core.hostmanager" 103 require "core.hostmanager"