diff --git a/ircd/m/event.cc b/ircd/m/event.cc index 899840e93..7cf28db7b 100644 --- a/ircd/m/event.cc +++ b/ircd/m/event.cc @@ -1664,7 +1664,8 @@ ircd::m::event::fetch::fetch(const event::idx &event_idx, opts } { - seek(*this, event_idx, std::nothrow, opts); + if(likely(event_idx)) + seek(*this, event_idx, std::nothrow, opts); } //