summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/til.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/til.c b/src/til.c
index 4fa42dd..c7afb3f 100644
--- a/src/til.c
+++ b/src/til.c
@@ -388,14 +388,14 @@ int til_module_setup_full(const til_settings_t *settings, til_setting_t **res_se
continue;
if (exclusions) {
- const char *excl = *exclusions;
+ const char **excl = exclusions;
- for (; excl; excl++) {
- if (!strcasecmp(excl, modules[i]->name))
+ for (; *excl; excl++) {
+ if (!strcasecmp(*excl, modules[i]->name))
break;
}
- if (excl)
+ if (*excl)
continue;
}
© All Rights Reserved