Software /
code /
prosody
Comparison
prosodyctl @ 1124:055cfdc96afa
prosodyctl: Add message for unable-to-save-data error
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 05 May 2009 16:37:43 +0100 |
parent | 1122:07b2b5942957 |
child | 1205:23a079f50cab |
comparison
equal
deleted
inserted
replaced
1123:da7ff11a03ee | 1124:055cfdc96afa |
---|---|
90 local error_messages = setmetatable({ | 90 local error_messages = setmetatable({ |
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 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); | 96 }, { __index = function (t,k) return "Error: "..(tostring(k):gsub("%-", " "):gsub("^.", string.upper)); end }); |
96 | 97 |
97 hosts = {}; | 98 hosts = {}; |
98 | 99 |
99 require "core.hostmanager" | 100 require "core.hostmanager" |