summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 1f68ada50..47ce6feaa 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -623,7 +623,7 @@ void Conf::Post(Conf *old)
Block *Conf::GetModule(const Module *m)
{
if (!m)
- return NULL;
+ return &Block::EmptyBlock;
return GetModule(m->name);
}