1
0
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:
Sadie Powell
2023-07-06 10:53:25 +01:00
parent 4e1f5cce80
commit 098f19c005
+3
View File
@@ -626,6 +626,9 @@ Block *Conf::GetModule(const Anope::string &mname)
}
}
if (!block)
block = &Block::EmptyBlock;
return GetModule(mname);
}