From: Vsevolod Stakhov Date: Wed, 30 Apr 2014 16:40:23 +0000 (+0100) Subject: Fix misprint. X-Git-Tag: 0.7.0~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2780171168576460f65f1ae92a0d9707646254d2;p=thirdparty%2Frspamd.git Fix misprint. --- diff --git a/src/controller.c b/src/controller.c index d274ad2d0d..c0341305b8 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);