summaryrefslogtreecommitdiff
path: root/src/rototiller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rototiller.c')
-rw-r--r--src/rototiller.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rototiller.c b/src/rototiller.c
index 7203ca2..de580cd 100644
--- a/src/rototiller.c
+++ b/src/rototiller.c
@@ -233,7 +233,8 @@ static int setup_module(settings_t *settings, setting_desc_t **next_setting)
if (!module)
return -EINVAL;
- /* TODO: here's where the module-specific settings would get hooked */
+ if (module->setup)
+ return module->setup(settings, next_setting);
return 0;
}
© All Rights Reserved