0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 14:48:56 +02:00

ircd:Ⓜ️ Return sentinel iterator to not leave undefined residue.

This commit is contained in:
Jason Volk 2018-04-06 21:46:47 -07:00
parent ccf9e993dd
commit 99d04c310a

View file

@ -1902,6 +1902,7 @@ ircd::m::hook::site::del(hook &hook)
return map.erase(pit.first);
assert(0);
return end(map);
}};
if(json::get<"origin"_>(hook.matching))