mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
ircd::mods: Skip unload for instances w/ null headers or unconstructed.
This commit is contained in:
parent
5506335502
commit
2aa0986fb1
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ noexcept
|
|||
if(mods::unloading(mod.name()))
|
||||
return false;
|
||||
|
||||
if(!mod.header || !mod.header->meta)
|
||||
return false;
|
||||
|
||||
const ctx::uninterruptible::nothrow ui;
|
||||
log::debug
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue