aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-02-04 01:51:25 +0100
committerKim Alvefur <zash@zash.se>2018-02-04 01:51:25 +0100
commitb1235c60a71fe55ac329580a6792e04fba9a4d04 (patch)
tree284e796694d96d55a3f24db148b6f95290c768fe /util
parent78c3f2328fd098579c036a5fc8b0cb5bf6fdc633 (diff)
downloadprosody-b1235c60a71fe55ac329580a6792e04fba9a4d04.tar.gz
prosody-b1235c60a71fe55ac329580a6792e04fba9a4d04.zip
Fix spelling throughout the codebase [codespell]
Diffstat (limited to 'util')
-rw-r--r--util/sasl/scram.lua2
-rw-r--r--util/startup.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua
index 15c15d68..043f328b 100644
--- a/util/sasl/scram.lua
+++ b/util/sasl/scram.lua
@@ -160,7 +160,7 @@ local function scram_gen(hash_name, H_f, HMAC_f)
end
self.username = username;
- -- retreive credentials
+ -- retrieve credentials
local stored_key, server_key, salt, iteration_count;
if self.profile.plain then
local password, status = self.profile.plain(self, username, self.realm)
diff --git a/util/startup.lua b/util/startup.lua
index 0b62249b..93d91caf 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -43,7 +43,7 @@ function startup.read_config()
print("\n");
print("**************************");
if level == "parser" then
- print("A problem occured while reading the config file "..filename);
+ print("A problem occurred while reading the config file "..filename);
print("");
local err_line, err_message = tostring(err):match("%[string .-%]:(%d*): (.*)");
if err:match("chunk has too many syntax levels$") then