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:
parent
ccf9e993dd
commit
99d04c310a
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue