0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 18:38:52 +02:00

ircd:Ⓜ️:event::fetch: Condition on a valid event_idx here.

This commit is contained in:
Jason Volk 2019-01-16 16:38:58 -08:00
parent 9cbed56017
commit c4b17c293a

View file

@ -1664,6 +1664,7 @@ ircd::m::event::fetch::fetch(const event::idx &event_idx,
opts
}
{
if(likely(event_idx))
seek(*this, event_idx, std::nothrow, opts);
}