diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2022-02-22 17:01:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 22:01:28 +0000 |
commit | 2b8e6958f40ef36c1508118ac36a43694283a83c (patch) | |
tree | fa9a9b6843546bdb297b00bc78b83ab4c318f724 /lualib/lua_scanners | |
parent | 85faeb34719e2b0898d319b02416f669d70f4562 (diff) | |
download | rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.tar.gz rspamd-2b8e6958f40ef36c1508118ac36a43694283a83c.zip |
Spelling (#4086)
[Rework] Massive spelling fix from @jsoref
Diffstat (limited to 'lualib/lua_scanners')
-rw-r--r-- | lualib/lua_scanners/common.lua | 2 | ||||
-rw-r--r-- | lualib/lua_scanners/fprot.lua | 2 | ||||
-rw-r--r-- | lualib/lua_scanners/sophos.lua | 2 | ||||
-rw-r--r-- | lualib/lua_scanners/virustotal.lua | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua index d052f4552..cefec8780 100644 --- a/lualib/lua_scanners/common.lua +++ b/lualib/lua_scanners/common.lua @@ -405,7 +405,7 @@ local function check_parts_match(task, rule) lua_util.debugm(rule.name, task, '%s: extension matched: |%s|%s|', rule.log_prefix, ext, ext2) return true elseif match_filter(task, rule, fname, rule.mime_parts_filter_regex, 'regex') then - lua_util.debugm(rule.name, task, '%s: filname regex matched', rule.log_prefix) + lua_util.debugm(rule.name, task, '%s: filename regex matched', rule.log_prefix) return true end end diff --git a/lualib/lua_scanners/fprot.lua b/lualib/lua_scanners/fprot.lua index 4c416524c..0d63bf4b8 100644 --- a/lualib/lua_scanners/fprot.lua +++ b/lualib/lua_scanners/fprot.lua @@ -135,7 +135,7 @@ local function fprot_check(task, content, digest, rule, maybe_part) rule['symbol'], rule['type']) end else - -- returncodes: 1: infected, 2: suspicious, 3: both, 4-255: some error occured + -- returncodes: 1: infected, 2: suspicious, 3: both, 4-255: some error occurred -- see http://www.f-prot.com/support/helpfiles/unix/appendix_c.html for more detail local vname = string.match(data, '^[1-3] <[%w%s]-: (.-)>') if not vname then diff --git a/lualib/lua_scanners/sophos.lua b/lualib/lua_scanners/sophos.lua index 36ebe4177..cfbe93ff2 100644 --- a/lualib/lua_scanners/sophos.lua +++ b/lualib/lua_scanners/sophos.lua @@ -149,7 +149,7 @@ local function sophos_check(task, content, digest, rule, maybe_part) rspamd_logger.warnx(task, 'Message is oversized (REJ 4): %s', data) common.yield_result(task, rule, 'SAVDI: Message oversized (REJ 4)', 0.0, 'fail', maybe_part) - -- excplicitly set REJ1 message when SAVDIreports a protocol error + -- explicitly set REJ1 message when SAVDIreports a protocol error elseif string.find(data, 'REJ 1') then rspamd_logger.errx(task, 'SAVDI (Protocol error (REJ 1)): %s', data) common.yield_result(task, rule, 'SAVDI: Protocol error (REJ 1)', diff --git a/lualib/lua_scanners/virustotal.lua b/lualib/lua_scanners/virustotal.lua index 8c5d71dbb..030f053e1 100644 --- a/lualib/lua_scanners/virustotal.lua +++ b/lualib/lua_scanners/virustotal.lua @@ -16,7 +16,7 @@ limitations under the License. --[[[ -- @module virustotal --- This module contains Virustotal integaration support +-- This module contains Virustotal integration support -- https://www.virustotal.com/ --]] |