Software /
code /
prosody
Changeset
12651:1ce98f27eabe
moduleapi: Remove redundant expansion of ':' prefix in permission names
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 20 Jul 2022 13:07:04 +0200 |
parents | 12650:e08bf2ad67da |
children | 12652:30e2a0107217 |
files | core/moduleapi.lua |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/moduleapi.lua Wed Jul 20 13:05:35 2022 +0200 +++ b/core/moduleapi.lua Wed Jul 20 13:07:04 2022 +0200 @@ -617,7 +617,6 @@ function api:default_permissions(role_name, permissions) for _, permission in ipairs(permissions) do - permission = permission:gsub("^:", self.name..":"); self:default_permission(role_name, permission); end end