mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
ircd:Ⓜ️ Fix error.
This commit is contained in:
parent
a39781924c
commit
ab9e9d698b
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,7 @@ try
|
||||||
{
|
{
|
||||||
const auto site(at(hook.site_name()));
|
const auto site(at(hook.site_name()));
|
||||||
assert(site != nullptr);
|
assert(site != nullptr);
|
||||||
return site->add(hook);
|
return site->del(hook);
|
||||||
}
|
}
|
||||||
catch(const std::out_of_range &e)
|
catch(const std::out_of_range &e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue