# HG changeset patch # User Jonas Schäfer # Date 1612092003 -3600 # Node ID 8c31d4b872c3659a0cea62215b0e7ef4d72be393 # Parent 7e379ccb8ed60256c910974cfccb5718f90386fc mod_groups_internal: fix log message not appearing "warning" vs "warn", sigh diff -r 7e379ccb8ed6 -r 8c31d4b872c3 mod_groups_internal/mod_groups_internal.lua --- 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;