0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 00:14:07 +01:00

ircd:Ⓜ️ Fix error.

This commit is contained in:
Jason Volk 2018-03-04 22:46:40 -08:00
parent a39781924c
commit ab9e9d698b

View file

@ -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)
{ {