equal
deleted
inserted
replaced
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" |