summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInspIRCd Robot <noreply@inspircd.org>2020-10-15 00:24:48 +0000
committerSadie Powell <sadie@witchery.services>2020-10-15 01:26:09 +0100
commit131f659d91953c51823ef70c8314aa3170ce7a7e (patch)
tree856b3974c1a08a3f8f086d69557213a2c8d38a52
parentb521739c93116f31b63c2c8013b30b7b024391d3 (diff)
Fixes by misspell-fixer
-rw-r--r--docs/conf/modules.conf.example4
-rw-r--r--src/modules/extra/m_argon2.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example
index 5db819557..0ab0c7451 100644
--- a/docs/conf/modules.conf.example
+++ b/docs/conf/modules.conf.example
@@ -198,14 +198,14 @@
# memory: Memory hardness, in KiB. E.g. 131072 KiB = 128 MiB.
# iterations: Time hardness in iterations. (def. 3)
# lanes: How many parallel chains can be run. (def. 1)
-# threads: Maximum amount of threads each invokation can spawn. (def. 1)
+# threads: Maximum amount of threads each invocation can spawn. (def. 1)
# length: Output length in bytes. (def. 32)
# saltlength: Salt length in bytes. (def. 16)
# version: Algorithm version, 10 or 13. (def. 13)
# The parameters can be customized as follows:
#<argon2 iterations="3" memory="131074" length="32" saltlength="16">
# Defines the parameters that are common for all the variants (i/d/id).
-# Can be overriden on individual basis, e.g.
+# Can be overridden on individual basis, e.g.
#<argon2i iterations="4">
#<argon2d memory="131074"
#<argon2id iterations="5" memory="262144" length="64" saltlength="32">
diff --git a/src/modules/extra/m_argon2.cpp b/src/modules/extra/m_argon2.cpp
index 8a4b2f38c..9270f0f7a 100644
--- a/src/modules/extra/m_argon2.cpp
+++ b/src/modules/extra/m_argon2.cpp
@@ -47,7 +47,7 @@ class ProviderConfig
private:
static Argon2_version SanitizeArgon2Version(unsigned long version)
{
- // Note, 10 is 0x10, and 13 is 0x13. Refering to it as
+ // Note, 10 is 0x10, and 13 is 0x13. Referring to it as
// dec 10 or 13 in the config file, for the name to
// match better.
switch (version)