mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
moduleapi: Remove redundant expansion of ':' prefix in permission names
This commit is contained in:
parent
5f8e441449
commit
55378f128a
1 changed files with 0 additions and 1 deletions
|
@ -617,7 +617,6 @@ end
|
|||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue