aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 2 insertions, 0 deletions
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 */
};
/**