1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 19:16:38 +02:00

Return EmptyBlock instead of NULL from GetModule.

This commit is contained in:
Sadie Powell
2025-03-02 14:43:57 +00:00
parent 82aecd6c7e
commit a5e5eb5eb0
+1 -1
View File
@@ -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);
}