aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-27 17:01:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-27 17:01:36 +0000
commitce275d9b2cb87c1c2d82ef2e3e18e339ed09e511 (patch)
tree171f549ee68e52974d6b107fafd00fb48ea2f31c
parentf9dd36d01c539171f3e6c90d49f8b63a895e60b1 (diff)
downloadrspamd-ce275d9b2cb87c1c2d82ef2e3e18e339ed09e511.tar.gz
rspamd-ce275d9b2cb87c1c2d82ef2e3e18e339ed09e511.zip
Fix rules count
-rw-r--r--src/plugins/surbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index 361a3780c..020556f35 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -515,6 +515,7 @@ surbl_module_config (struct rspamd_config *cfg)
new_suffix,
SYMBOL_TYPE_CALLBACK,
-1);
+ nrules++;
new_suffix->callback_id = cb_id;
has_subsymbols = FALSE;