mirror of
https://github.com/anope/anope.git
synced 2026-06-28 06:16:37 +02:00
Fix a crash when a module tries to get another module's config.
This commit is contained in:
@@ -626,6 +626,9 @@ Block *Conf::GetModule(const Anope::string &mname)
|
||||
}
|
||||
}
|
||||
|
||||
if (!block)
|
||||
block = &Block::EmptyBlock;
|
||||
|
||||
return GetModule(mname);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user