Software / code / prosody
Comparison
prosodyctl @ 1205:23a079f50cab
prosodyctl: Add error message for no-pidfile
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 26 May 2009 22:54:46 +0100 |
| parent | 1124:055cfdc96afa |
| child | 1390:ef672c9fe7c9 |
comparison
equal
deleted
inserted
replaced
| 1204:dea89234e545 | 1205:23a079f50cab |
|---|---|
| 91 ["invalid-username"] = "The given username is invalid in a Jabber ID"; | 91 ["invalid-username"] = "The given username is invalid in a Jabber ID"; |
| 92 ["invalid-hostname"] = "The given hostname is invalid"; | 92 ["invalid-hostname"] = "The given hostname is invalid"; |
| 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 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); | 97 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); |
| 97 | 98 |
| 98 hosts = {}; | 99 hosts = {}; |
| 99 | 100 |
| 100 require "core.hostmanager" | 101 require "core.hostmanager" |