Software /
code /
prosody
Comparison
prosodyctl @ 3627:9e62937c9757
prosodyctl, util.prosodyctl: Show error when mod_posix is not enabled and an attempt is made to query Prosody's status (thanks stever)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 16 Nov 2010 13:30:27 +0000 |
parent | 3481:72d3c8029178 |
child | 3630:e0c67b14d25f |
comparison
equal
deleted
inserted
replaced
3626:444f965baed8 | 3627:9e62937c9757 |
---|---|
158 ["invalid-hostname"] = "The given hostname is invalid"; | 158 ["invalid-hostname"] = "The given hostname is invalid"; |
159 ["no-password"] = "No password was supplied"; | 159 ["no-password"] = "No password was supplied"; |
160 ["no-such-user"] = "The given user does not exist on the server"; | 160 ["no-such-user"] = "The given user does not exist on the server"; |
161 ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?"; | 161 ["unable-to-save-data"] = "Unable to store, perhaps you don't have permission?"; |
162 ["no-pidfile"] = "There is no 'pidfile' option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help"; | 162 ["no-pidfile"] = "There is no 'pidfile' option in the configuration file, see http://prosody.im/doc/prosodyctl#pidfile for help"; |
163 ["no-posix"] = "The mod_posix module is not enabled in the Prosody config file, see http://prosody.im/doc/prosodyctl for more info"; | |
163 ["no-such-method"] = "This module has no commands"; | 164 ["no-such-method"] = "This module has no commands"; |
164 ["not-running"] = "Prosody is not running"; | 165 ["not-running"] = "Prosody is not running"; |
165 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); | 166 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); |
166 | 167 |
167 hosts = prosody.hosts; | 168 hosts = prosody.hosts; |