aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-08-18 15:42:07 +0200
committerKim Alvefur <zash@zash.se>2022-08-18 15:42:07 +0200
commitb608af36ed2d57505ce4ba603dece395a68f3b17 (patch)
tree167b598e890855e958dbb63a3c60e937f6df5959
parent1f4b94adabd686877059752453ecc4cb247b903d (diff)
downloadprosody-b608af36ed2d57505ce4ba603dece395a68f3b17.tar.gz
prosody-b608af36ed2d57505ce4ba603dece395a68f3b17.zip
core.usermanager: Update argument name in authz fallback method
It's not plural
-rw-r--r--core/usermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index f8514bc4..2c469269 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -39,7 +39,7 @@ local fallback_authz_provider = {
get_jids_with_role = function (role) end;
get_user_role = function (user) end;
- set_user_role = function (user, roles) end;
+ set_user_role = function (user, role_name) end;
get_user_secondary_roles = function (user) end;
add_user_secondary_role = function (user, host, role_name) end;