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:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user