diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 17:40:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-30 17:40:23 +0100 |
commit | 2780171168576460f65f1ae92a0d9707646254d2 (patch) | |
tree | 5e8a1e967f52364a4b3db0856d1330682b829fc7 /src/controller.c | |
parent | 01e1758608d2bf6f466e7fa8897d8a192e427520 (diff) | |
download | rspamd-2780171168576460f65f1ae92a0d9707646254d2.tar.gz rspamd-2780171168576460f65f1ae92a0d9707646254d2.zip |
Fix misprint.
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c index d274ad2d0..c0341305b 100644 --- a/src/controller.c +++ b/src/controller.c @@ -1651,7 +1651,7 @@ start_controller_worker (struct rspamd_worker *worker) while (cur) { f = cur->data; mctx = g_hash_table_lookup (ctx->cfg->c_modules, f->module->name); - if (mctx != NULL && f->module->module_init_func != NULL) { + if (mctx != NULL && f->module->module_attach_controller_func != NULL) { f->module->module_attach_controller_func (mctx, ctx->custom_commands); } cur = g_list_next (cur); |