diff --git a/ircd/m_event.cc b/ircd/m_event.cc index 652b842d0..c137f1b76 100644 --- a/ircd/m_event.cc +++ b/ircd/m_event.cc @@ -1672,7 +1672,7 @@ ircd::m::event_id(const event::idx &event_idx, buf = eid; }); - return buf; + return buf? event::id{buf} : event::id{}; } bool