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
commit3ec060fc0c140fa5f7fb09b3d64d715559dd54be (patch)
tree284e796694d96d55a3f24db148b6f95290c768fe /util
parent6f6e04b6c6c9e934d2837c353aeccb0617c414e9 (diff)
downloadprosody-3ec060fc0c140fa5f7fb09b3d64d715559dd54be.tar.gz
prosody-3ec060fc0c140fa5f7fb09b3d64d715559dd54be.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