prosodyctl

changeset 2065
c384ae8ee17a
parent 2020
24f54340a670
child 2292
c5d3905c98a6
child 2786
534e171036ef
equal deleted inserted replaced
2064:1ee862fd1afe 2065:c384ae8ee17a
99 ["invalid-username"] = "The given username is invalid in a Jabber ID"; 99 ["invalid-username"] = "The given username is invalid in a Jabber ID";
100 ["invalid-hostname"] = "The given hostname is invalid"; 100 ["invalid-hostname"] = "The given hostname is invalid";
101 ["no-password"] = "No password was supplied"; 101 ["no-password"] = "No password was supplied";
102 ["no-such-user"] = "The given user does not exist on the server"; 102 ["no-such-user"] = "The given user does not exist on the server";
103 ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?"; 103 ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?";
104 ["no-pidfile"] = "There is no pidfile option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help"; 104 ["no-pidfile"] = "There is no 'pidfile' option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help";
105 ["no-such-method"] = "This module has no commands"; 105 ["no-such-method"] = "This module has no commands";
106 ["not-running"] = "Prosody is not running"; 106 ["not-running"] = "Prosody is not running";
107 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); 107 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end });
108 108
109 local events = require "util.events".new(); 109 local events = require "util.events".new();

mercurial