aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-12 16:35:57 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-02-12 16:35:57 +0000
commitb4e37e3b6978d4ad7b8e0dc96ccaaeae8cb6185a (patch)
tree0dac6c4df76ab3509d069389947985018fccc066 /doc
parent9b1c8eaa3dc18a7ef42ddced42310d4a089dc5ba (diff)
parent0b453262d2aff4a9574f90401af810d7c24f8483 (diff)
downloadrspamd-b4e37e3b6978d4ad7b8e0dc96ccaaeae8cb6185a.tar.gz
rspamd-b4e37e3b6978d4ad7b8e0dc96ccaaeae8cb6185a.zip
Merge pull request #524 from moisseev/patch-2
Fix runaway comma in lua rule example
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/tutorials/writing_rules.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/markdown/tutorials/writing_rules.md b/doc/markdown/tutorials/writing_rules.md
index 1c1c8fc81..ffb858f99 100644
--- a/doc/markdown/tutorials/writing_rules.md
+++ b/doc/markdown/tutorials/writing_rules.md
@@ -154,7 +154,7 @@ rspamd_config.MY_LUA_SYMBOL = {
callback = function(task)
-- Do something
return true
- end
+ end,
score = -1.5,
description = 'another cool rule',
group = 'my symbols'