diff --git a/modules/client/sync/account_data.cc b/modules/client/sync/account_data.cc index 2d417a239..c82fc56c3 100644 --- a/modules/client/sync/account_data.cc +++ b/modules/client/sync/account_data.cc @@ -34,8 +34,10 @@ ircd::m::sync::account_data bool ircd::m::sync::account_data_linear(data &data) { + if(!data.event_idx) + return false; + assert(data.event); - assert(data.event_idx); json::stack::array array { *data.out, "events"