diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index 33946ee..ca1d471 100644 --- a/src/module.c +++ b/src/module.c | |||
@@ -147,7 +147,7 @@ conf_notification_modules(struct notification *np) | |||
147 | np->modname); | 147 | np->modname); |
148 | return 1; | 148 | return 1; |
149 | } | 149 | } |
150 | if (!np->modcfg && mod->config) { | 150 | if (!np->modcfg && mod->config && np->modnode) { |
151 | np->modcfg = mod->config(np->modnode); | 151 | np->modcfg = mod->config(np->modnode); |
152 | if (!np->modcfg) { | 152 | if (!np->modcfg) { |
153 | wy_log(LOG_ERR, | 153 | wy_log(LOG_ERR, |