diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-17 16:38:19 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-17 16:38:19 +0100 |
commit | 4c252ed720d21dec1ac6cd088e50d65f8d8014fd (patch) | |
tree | d6e1d389186ca7e4e9fbb890abc02e7c8cde7753 /src/main.h | |
parent | d111e5e161f9bc3ae388e8e874651d6b5656ba1a (diff) | |
download | rspamd-4c252ed720d21dec1ac6cd088e50d65f8d8014fd.tar.gz rspamd-4c252ed720d21dec1ac6cd088e50d65f8d8014fd.zip |
Fix modules initialization.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
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 */ }; /** |