]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix rules count
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Nov 2015 17:01:36 +0000 (17:01 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Nov 2015 17:01:36 +0000 (17:01 +0000)
src/plugins/surbl.c

index 361a3780cc91223dae4bfe3512aa639e0579ca68..020556f3548be9a2ca3d9e3923ffd1dfd35ea50e 100644 (file)
@@ -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;