# HG changeset patch # User Kim Alvefur # Date 1632501568 -7200 # Node ID 0375ef78ed642c99fba920f3917947d06e3d4dbf # Parent f590e3c51eff2aa0a8a890346c455ff6f893cb83 mod_http_errors: Make it easier to override 'http-message' handler Per the unspoken internal standard of -1 as priority for most built-in event handlers, since this makes it easy for 3rd party plugins to override behavior by hooking at the default priority of 0. diff -r f590e3c51eff -r 0375ef78ed64 plugins/mod_http_errors.lua --- a/plugins/mod_http_errors.lua Thu Sep 23 17:55:49 2021 +0200 +++ b/plugins/mod_http_errors.lua Fri Sep 24 18:39:28 2021 +0200 @@ -83,7 +83,7 @@ event.response.headers.content_type = "text/html; charset=utf-8"; end return render(html, event); -end); +end, -1); local icon = [[