Software /
code /
prosody-modules
Changeset
4418:8c31d4b872c3
mod_groups_internal: fix log message not appearing
"warning" vs "warn", sigh
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Sun, 31 Jan 2021 12:20:03 +0100 |
parents | 4417:7e379ccb8ed6 |
children | 4419:1185acb2ab91 |
files | mod_groups_internal/mod_groups_internal.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_groups_internal/mod_groups_internal.lua Sun Jan 31 12:14:21 2021 +0100 +++ b/mod_groups_internal/mod_groups_internal.lua Sun Jan 31 12:20:03 2021 +0100 @@ -206,7 +206,7 @@ }):up()); module:log("debug", "set user %s to be member in %s and sent invite", username, group_info.muc_jid); else - module:log("warning", "failed to update affiliation for %s in %s", username, group_info.muc_jid); + module:log("warn", "failed to update affiliation for %s in %s", username, group_info.muc_jid); end end if not delay_update then @@ -229,7 +229,7 @@ local user_jid = username .. "@" .. host; room:set_affiliation(true, user_jid, nil); else - module:log("warning", "failed to update affiliation for %s in %s", username, group_info.muc_jid); + module:log("warn", "failed to update affiliation for %s in %s", username, group_info.muc_jid); end end return true;