diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/til.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |