From 4c252ed720d21dec1ac6cd088e50d65f8d8014fd Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 17 Apr 2015 16:38:19 +0100 Subject: Fix modules initialization. --- src/main.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index 14ed7281e..d33e4ed1a 100644 --- a/src/main.h +++ b/src/main.h @@ -179,6 +179,8 @@ struct controller_session { */ struct module_ctx { gint (*filter)(struct rspamd_task *task); /**< pointer to headers process function */ + module_t *mod; /**< module pointer */ + gboolean enabled; /**< true if module is enabled in configuration */ }; /** -- cgit v1.2.3