]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix misprint.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Apr 2014 16:40:23 +0000 (17:40 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Apr 2014 16:40:23 +0000 (17:40 +0100)
src/controller.c

index d274ad2d0d4f612a14e5983270019acbc7d6a43f..c0341305b89a3bfd327688c7db6e47b8bcbf67dc 100644 (file)
@@ -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);