aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r--core/moduleapi.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index 0ec96fb6..c1d8851e 100644
--- a/core/moduleapi.lua
+++ b/core/moduleapi.lua
@@ -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