# HG changeset patch # User Kim Alvefur # Date 1655326995 -7200 # Node ID 4262ce516e6c07f312c68a37dffbc55e97c15b4f # Parent 9fa749cbd376b65a3c2faf282618e19c231ed9ec core.moduleapi: Fixup method name `get_user_role()` did not exist anywhere else. MattJ said `get_user_default_role()` was indented diff -r 9fa749cbd376 -r 4262ce516e6c core/moduleapi.lua --- a/core/moduleapi.lua Wed Jun 15 14:22:26 2022 +0100 +++ b/core/moduleapi.lua Wed Jun 15 23:03:15 2022 +0200 @@ -619,7 +619,7 @@ local role; local node, host = jid_split(context); if host == self.host then - role = hosts[host].authz.get_user_role(node); + role = hosts[host].authz.get_user_default_role(node); else role = hosts[self.host].authz.get_jid_role(context); end