Software /
code /
prosody
Changeset
12874:b9468c8ac1d3
core.moduleapi: Fix passing variable to logging
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 31 Jan 2023 07:48:21 +0100 |
parents | 12873:7f4f834fae79 |
children | 12875:a28f77018476 |
files | core/moduleapi.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/moduleapi.lua Mon Jan 30 00:40:47 2023 +0100 +++ b/core/moduleapi.lua Tue Jan 31 07:48:21 2023 +0100 @@ -580,7 +580,7 @@ function api:set_status(status_type, status_message, override) local priority = status_priorities[status_type]; if not priority then - self:log("error", "set_status: Invalid status type '%s', assuming 'info'"); + self:log("error", "set_status: Invalid status type '%s', assuming 'info'", status_type); status_type, priority = "info", status_priorities.info; end local current_priority = status_priorities[self.status_type] or 0;