Software /
code /
prosody
File
spec/util_poll_spec.lua @ 11389:29e7ed75ed3f
mod_http_errors: Add way to reuse the error page template
module:fire_event("http-message", {title = "hello"; message = "world"})
Goal is to enable consistent messages from Prosody. Not necessarily
error messages, but warnings or just notices.
This does cause some drift in the purpose of mod_http_errors, but that's
okay.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 21 Feb 2021 06:13:19 +0100 |
parent | 9316:4aa522b9e1c4 |
child | 12400:728d1c1dc7db |
line wrap: on
line source
describe("util.poll", function () it("loads", function () require "util.poll" end); end);