0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-29 07:18:20 +02:00

ircd:Ⓜ️ Temporary eval workarounds.

This commit is contained in:
Jason Volk 2019-02-19 16:32:59 -08:00
parent 77ababbe85
commit b4ee0a9bcf
2 changed files with 4 additions and 1 deletions

View file

@ -244,6 +244,7 @@ bootstrap(const string_view &host,
opts.head_must_exist = false;
opts.history = false;
opts.infolog_accept = true;
opts.eval = false;
const m::event::id::buf event_id
{
m::vm::eval

View file

@ -456,13 +456,15 @@ try
commit_hook(event, eval);
}
const event::conforms &report
event::conforms report
{
opts.conforming && !opts.conformed?
event::conforms{event, opts.non_conform.report}:
opts.report
};
report.del(event::conforms::MISSING_AUTH_EVENTS);
if(opts.conforming && !report.clean())
throw error
{