- filter_register("rbl", rbl_filter_constructor, rbl_filter_destructor,
- rbl_filter);
+ filter_type_t type = filter_register("rbl", rbl_filter_constructor,
+ rbl_filter_destructor, rbl_filter);
+ (void)filter_hook_register(type, "error");
+ (void)filter_hook_register(type, "fail");
+ (void)filter_hook_register(type, "hard_match");
+ (void)filter_hook_register(type, "soft_match");